[gnome-shell] wanda: Fix after clutter deprecation changes



commit aee28616a9c92da0240143b84b8b50300f7a1ff5
Author: Florian MÃllner <fmuellner gnome org>
Date:   Fri Feb 17 17:01:30 2012 +0100

    wanda: Fix after clutter deprecation changes
    
    Animated icons now use ClutterActor instead of ClutterGroup, so
    adjust to that change.

 js/ui/wanda.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/wanda.js b/js/ui/wanda.js
index cfbe47e..9deb448 100644
--- a/js/ui/wanda.js
+++ b/js/ui/wanda.js
@@ -89,9 +89,9 @@ const WandaIcon = new Lang.Class({
             return true;
         }
 
-        this._animations.get_nth_child(this._i).hide();
+        this._animations.get_child_at_index(this._i).hide();
         this._i = (this._i + 1) % n;
-        this._animations.get_nth_child(this._i).show();
+        this._animations.get_child_at_index(this._i).show();
 
         return true;
     },



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