mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-16 15:14:17 +00:00
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:
parent
d97cdbdf53
commit
91f84cd1d8
@ -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>
|
2008-06-21 Johan Dahlin <jdahlin@async.com.br>
|
||||||
|
|
||||||
* *.[ch]: Include "config.h" instead of <config.h>
|
* *.[ch]: Include "config.h" instead of <config.h>
|
||||||
|
@ -91,12 +91,12 @@ gtk_accel_group_class_init (GtkAccelGroupClass *class)
|
|||||||
|
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_MODIFIER_MASK,
|
PROP_MODIFIER_MASK,
|
||||||
g_param_spec_enum ("modifier-mask",
|
g_param_spec_flags ("modifier-mask",
|
||||||
"Modifier Mask",
|
"Modifier Mask",
|
||||||
"Modifier Mask",
|
"Modifier Mask",
|
||||||
GDK_TYPE_MODIFIER_TYPE,
|
GDK_TYPE_MODIFIER_TYPE,
|
||||||
0,
|
0,
|
||||||
G_PARAM_READABLE));
|
G_PARAM_READABLE));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GtkAccelGroup::accel-activate:
|
* GtkAccelGroup::accel-activate:
|
||||||
|
Loading…
Reference in New Issue
Block a user