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



commit 09085b3fee4c512495f6740a1d32d9b8d01dd148
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 720e973..cea7e9a 100644
--- a/clutter/clutter-actor.c
+++ b/clutter/clutter-actor.c
@@ -4885,7 +4885,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]