GNOME Bugzilla – Bug 66590
guint should be flag type
Last modified: 2011-02-04 16:09:14 UTC
The arg guint accel_mods to gtk_accel_map_add_entry should be a GdkModifierType to make LB happy. The rest of the accelgroup and accelmap stuff seems to do this.
We have uses of guint for this in: GtkAccelMapForeach, gtk_bindings_activate(), gtk_binding_set_activate(), gtk_binding_entry_clear(), gtk_binding_entry_add_signal(),gtk_widget_add_accelerator(), gtk_widget_remove_accelerator(). In gtk/, it's about 15 GtkModifierType vs. 8 guint currently in public uses.
Tue Jan 29 21:50:28 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkaccelmap.[ch] gtk/gtkbindings.[ch] gtk/gtkwidget.[ch]: Consistently use GdkModifierType. (#66950, Mark Patton)