[clutter-gtk] Make GtkClutterActor reactive by default



commit 417b06a438cc05b45e92b9cbeea65bd119b00cc5
Author: Alexander Larsson <alexl redhat com>
Date:   Fri May 25 15:15:23 2012 +0200

    Make GtkClutterActor reactive by default
    
    This is almost always what you want, since you don't put gtk+ widgets
    inside clutter just for rendering features.

 clutter-gtk/gtk-clutter-actor.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/clutter-gtk/gtk-clutter-actor.c b/clutter-gtk/gtk-clutter-actor.c
index 95dc971..0c52f61 100644
--- a/clutter-gtk/gtk-clutter-actor.c
+++ b/clutter-gtk/gtk-clutter-actor.c
@@ -509,6 +509,8 @@ gtk_clutter_actor_init (GtkClutterActor *self)
   g_object_ref_sink (priv->widget);
   gtk_widget_show (priv->widget);
 
+  clutter_actor_set_reactive (self, TRUE);
+
   clutter_actor_push_internal (actor);
 
 #if defined(CLUTTER_WINDOWING_X11)



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