gtk+ r20767 - in trunk: . gtk



Author: matthiasc
Date: Fri Jul  4 20:46:45 2008
New Revision: 20767
URL: http://svn.gnome.org/viewvc/gtk+?rev=20767&view=rev

Log:
Fix default value


Modified:
   trunk/ChangeLog
   trunk/gtk/gtkaccelgroup.c

Modified: trunk/gtk/gtkaccelgroup.c
==============================================================================
--- trunk/gtk/gtkaccelgroup.c	(original)
+++ trunk/gtk/gtkaccelgroup.c	Fri Jul  4 20:46:45 2008
@@ -95,7 +95,7 @@
                                                        "Modifier Mask",
                                                        "Modifier Mask",
                                                        GDK_TYPE_MODIFIER_TYPE,
-                                                       0,
+                                                       default_accel_mod_mask,
                                                        G_PARAM_READABLE));
 
   /**
@@ -186,7 +186,7 @@
       g_value_set_boolean (value, accel_group->lock_count > 0);
       break;
     case PROP_MODIFIER_MASK:
-      g_value_set_enum (value, accel_group->modifier_mask);
+      g_value_set_flags (value, accel_group->modifier_mask);
       break;
     default:
       G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec);



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