From a6df0b6a53ac7946acd758529403cebe64716d43 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 6 Dec 2011 17:44:04 +0000 Subject: [PATCH] cally: Do not use Group API Avoids a deprecation warning. --- clutter/cally/cally-group.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clutter/cally/cally-group.c b/clutter/cally/cally-group.c index f93f2341e..bde8128c3 100644 --- a/clutter/cally/cally-group.c +++ b/clutter/cally/cally-group.c @@ -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;