[environment] use St.describe_actor for Clutter.Actor.prototype.toString
https://bugzilla.gnome.org/show_bug.cgi?id=621668
This commit is contained in:
@ -71,6 +71,9 @@ function init() {
|
||||
_patchContainerClass(St.BoxLayout);
|
||||
_patchContainerClass(St.Table);
|
||||
|
||||
Clutter.Actor.prototype.toString = function() {
|
||||
return St.describe_actor(this);
|
||||
};
|
||||
Clutter.Actor.prototype.contains = function(child) {
|
||||
while (child != null && child != this)
|
||||
child = child.get_parent();
|
||||
|
Reference in New Issue
Block a user