cally: Do not use Group API

Avoids a deprecation warning.
This commit is contained in:
Emmanuele Bassi 2011-12-06 17:44:04 +00:00 committed by Emmanuele Bassi
parent 7fd35edd3f
commit a6df0b6a53

View File

@ -109,7 +109,7 @@ cally_group_get_n_children (AtkObject *obj)
g_return_val_if_fail (CLUTTER_IS_GROUP(actor), count);
count = clutter_group_get_n_children (CLUTTER_GROUP (actor));
count = clutter_actor_get_n_children (actor);
return count;
}
@ -128,7 +128,7 @@ cally_group_ref_child (AtkObject *obj,
actor = CALLY_GET_CLUTTER_ACTOR (obj);
g_return_val_if_fail (CLUTTER_IS_GROUP(actor), NULL);
child = clutter_group_get_nth_child (CLUTTER_GROUP(actor), i);
child = clutter_actor_get_child_at_index (actor, i);
if (!child)
return NULL;