[clutter/wip/apocalypses/apocalypse-1: 40/43] cally: Do not use Group API



commit 8ae50e340e7f56060b44aa17d0ec7bd911414287
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Tue Dec 6 17:44:04 2011 +0000

    cally: Do not use Group API
    
    Avoids a deprecation warning.

 clutter/cally/cally-group.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/clutter/cally/cally-group.c b/clutter/cally/cally-group.c
index f93f234..bde8128 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;



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