After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 66590 - guint should be flag type
guint should be flag type
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
1.3.x
Other other
: Normal trivial
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2001-12-10 02:38 UTC by Mark Patton
Modified: 2011-02-04 16:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mark Patton 2001-12-10 02:38:53 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.
Comment 1 Owen Taylor 2002-01-21 20:34:42 UTC
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.
 
Comment 2 Owen Taylor 2002-01-30 03:07:24 UTC
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)