[clutter-gtk] window: Do not use deprecated API



commit 972d058e81b289b3cab9cfa19ce66f1635b90de5
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Wed Jun 6 11:46:35 2012 +0100

    window: Do not use deprecated API

 clutter-gtk/gtk-clutter-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter-gtk/gtk-clutter-window.c b/clutter-gtk/gtk-clutter-window.c
index d572d70..9784606 100644
--- a/clutter-gtk/gtk-clutter-window.c
+++ b/clutter-gtk/gtk-clutter-window.c
@@ -272,7 +272,7 @@ gtk_clutter_window_init (GtkClutterWindow *self)
   stage = gtk_clutter_embed_get_stage (GTK_CLUTTER_EMBED (priv->embed));
 
   priv->actor = gtk_clutter_actor_new ();
-  clutter_container_add_actor (CLUTTER_CONTAINER (stage), priv->actor);
+  clutter_actor_add_child (stage, priv->actor);
   clutter_actor_set_name (priv->actor, "GtkClutterActor");
   clutter_actor_add_constraint_with_name (priv->actor, "content-x",
                                           clutter_bind_constraint_new (stage, CLUTTER_BIND_WIDTH, 0.0));



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