wanda: Fix after clutter deprecation changes

Animated icons now use ClutterActor instead of ClutterGroup, so
adjust to that change.
This commit is contained in:
Florian Müllner 2012-02-17 17:01:30 +01:00
parent 70830560ae
commit aee28616a9

View File

@ -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;
},