use g_param_spec_flags(), not enum() when registering the "modifier-mask"

2008-06-22  Michael Natterer  <mitch@imendio.com>

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


svn path=/trunk/; revision=20670
This commit is contained in:
Michael Natterer 2008-06-22 16:42:22 +00:00 committed by Michael Natterer
parent d97cdbdf53
commit 91f84cd1d8
2 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2008-06-22 Michael Natterer <mitch@imendio.com>
* gtk/gtkaccelgroup.c: use g_param_spec_flags(), not enum() when
registering the "modifier-mask" property.
2008-06-21 Johan Dahlin <jdahlin@async.com.br>
* *.[ch]: Include "config.h" instead of <config.h>

View File

@ -91,7 +91,7 @@ gtk_accel_group_class_init (GtkAccelGroupClass *class)
g_object_class_install_property (object_class,
PROP_MODIFIER_MASK,
g_param_spec_enum ("modifier-mask",
g_param_spec_flags ("modifier-mask",
"Modifier Mask",
"Modifier Mask",
GDK_TYPE_MODIFIER_TYPE,