[gnome-shell] Drop custom ClutterActor.contains



commit 3fb7cce80fa18315d81619fa511a057b1c3b6131
Author: Adel Gadllah <adel gadllah gmail com>
Date:   Fri Jul 16 22:24:22 2010 +0200

    Drop custom ClutterActor.contains
    
    Clutter 1.4 does provides a native implementation
    
    https://bugzilla.gnome.org/show_bug.cgi?id=624571

 js/ui/environment.js |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/environment.js b/js/ui/environment.js
index 22f8e19..6bab830 100644
--- a/js/ui/environment.js
+++ b/js/ui/environment.js
@@ -82,11 +82,6 @@ function init() {
     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();
-        return child != null;
-    };
 
     _blockMethod('Clutter.Event.get_state', 'Shell.get_event_state',
                  'gjs\'s handling of Clutter.ModifierType is broken. See bug 597292.');



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]