gtk+ r20670 - in trunk: . gtk



Author: mitch
Date: Sun Jun 22 16:42:22 2008
New Revision: 20670
URL: http://svn.gnome.org/viewvc/gtk+?rev=20670&view=rev

Log:
2008-06-22  Michael Natterer  <mitch imendio com>

	* gtk/gtkaccelgroup.c: use g_param_spec_flags(), not enum() when
	registering the "modifier-mask" property.



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

Modified: trunk/gtk/gtkaccelgroup.c
==============================================================================
--- trunk/gtk/gtkaccelgroup.c	(original)
+++ trunk/gtk/gtkaccelgroup.c	Sun Jun 22 16:42:22 2008
@@ -91,12 +91,12 @@
 
   g_object_class_install_property (object_class,
                                    PROP_MODIFIER_MASK,
-                                   g_param_spec_enum ("modifier-mask",
-                                                      "Modifier Mask",
-                                                      "Modifier Mask",
-                                                      GDK_TYPE_MODIFIER_TYPE,
-                                                      0,
-                                                      G_PARAM_READABLE));
+                                   g_param_spec_flags ("modifier-mask",
+                                                       "Modifier Mask",
+                                                       "Modifier Mask",
+                                                       GDK_TYPE_MODIFIER_TYPE,
+                                                       0,
+                                                       G_PARAM_READABLE));
 
   /**
    * GtkAccelGroup::accel-activate:



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