[libegg] eggwrapbox: Fix getting orientation as a property



commit 7ce8557e8c022ede8edd22647d9ad3cdbacd9457
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sun Oct 21 17:32:52 2012 -0400

    eggwrapbox: Fix getting orientation as a property
    
    https://bugzilla.gnome.org/show_bug.cgi?id=686470

 libegg/wrapbox/eggwrapbox.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libegg/wrapbox/eggwrapbox.c b/libegg/wrapbox/eggwrapbox.c
index 3934f05..34e9ac4 100644
--- a/libegg/wrapbox/eggwrapbox.c
+++ b/libegg/wrapbox/eggwrapbox.c
@@ -360,7 +360,7 @@ egg_wrap_box_get_property (GObject      *object,
   switch (prop_id)
     {
     case PROP_ORIENTATION:
-      g_value_set_boolean (value, priv->orientation);
+      g_value_set_enum (value, priv->orientation);
       break;
     case PROP_ALLOCATION_MODE:
       g_value_set_uint (value, priv->mode);



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