[clutter/clutter-1.14] actor: Correct setting the offscreen-redirect property



commit 3ebd8fd4fcbb7e4762394a6d212fa1a5760475d0
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Sep 27 15:00:57 2013 +0200

    actor: Correct setting the offscreen-redirect property
    
    It's a flags property, not an enum one.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=708922

 clutter/clutter-actor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c
index 789e248..0962cd4 100644
--- a/clutter/clutter-actor.c
+++ b/clutter/clutter-actor.c
@@ -5337,7 +5337,7 @@ clutter_actor_get_property (GObject    *object,
       break;
 
     case PROP_OFFSCREEN_REDIRECT:
-      g_value_set_enum (value, priv->offscreen_redirect);
+      g_value_set_flags (value, priv->offscreen_redirect);
       break;
 
     case PROP_NAME:


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