Drop custom ClutterActor.contains
Clutter 1.4 does provides a native implementation https://bugzilla.gnome.org/show_bug.cgi?id=624571
This commit is contained in:
parent
a0d9c9b65a
commit
3fb7cce80f
@ -82,11 +82,6 @@ function init() {
|
|||||||
Clutter.Actor.prototype.toString = function() {
|
Clutter.Actor.prototype.toString = function() {
|
||||||
return St.describe_actor(this);
|
return St.describe_actor(this);
|
||||||
};
|
};
|
||||||
Clutter.Actor.prototype.contains = function(child) {
|
|
||||||
while (child != null && child != this)
|
|
||||||
child = child.get_parent();
|
|
||||||
return child != null;
|
|
||||||
};
|
|
||||||
|
|
||||||
_blockMethod('Clutter.Event.get_state', 'Shell.get_event_state',
|
_blockMethod('Clutter.Event.get_state', 'Shell.get_event_state',
|
||||||
'gjs\'s handling of Clutter.ModifierType is broken. See bug 597292.');
|
'gjs\'s handling of Clutter.ModifierType is broken. See bug 597292.');
|
||||||
|
Loading…
Reference in New Issue
Block a user