From aee28616a9c92da0240143b84b8b50300f7a1ff5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 17 Feb 2012 17:01:30 +0100 Subject: [PATCH] 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 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/wanda.js b/js/ui/wanda.js index cfbe47eaf..9deb448fb 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; },