From a75a0d494bfcbe80beecafe4f3be894a5e47aacb Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Wed, 30 Jan 2002 03:07:14 +0000 Subject: Consistently use GdkModifierType. (#66950, Mark Patton) Tue Jan 29 21:50:28 2002 Owen Taylor * gtk/gtkaccelmap.[ch] gtk/gtkbindings.[ch] gtk/gtkwidget.[ch]: Consistently use GdkModifierType. (#66950, Mark Patton) * gtk/gtkimagemenuitem.c (gtk_image_menu_item_new_from_stock): For consistency with gtk_button_new_from_stock(), fall back to gtk_image_menu_item_new_with_mnemnonic(). (#65944, Havoc Pennington) * gtk/gtkitemfactory.[ch] (gtk_item_factory_path_from_widget): Make G_CONST_RETURN. (#68527, Matt Wilson) --- gtk/gtkaccelmap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk/gtkaccelmap.h') diff --git a/gtk/gtkaccelmap.h b/gtk/gtkaccelmap.h index 7321079ed6..8b1e5fa669 100644 --- a/gtk/gtkaccelmap.h +++ b/gtk/gtkaccelmap.h @@ -29,14 +29,14 @@ G_BEGIN_DECLS typedef void (*GtkAccelMapForeach) (gpointer data, const gchar *accel_path, guint accel_key, - guint accel_mods, + GdkModifierType accel_mods, gboolean changed); /* --- public API --- */ void gtk_accel_map_add_entry (const gchar *accel_path, guint accel_key, - guint accel_mods); + GdkModifierType accel_mods); gboolean gtk_accel_map_lookup_entry (const gchar *accel_path, GtkAccelKey *key); gboolean gtk_accel_map_change_entry (const gchar *accel_path, -- cgit v1.2.1