diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-01-30 03:07:14 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-01-30 03:07:14 +0000 |
commit | a75a0d494bfcbe80beecafe4f3be894a5e47aacb (patch) | |
tree | eb3e394b783ca1c916ffed5009a6e151b523ed1e /gtk/gtkbindings.h | |
parent | 36655ffa797750370763cccedf1df1449eb706c1 (diff) | |
download | gtk+-a75a0d494bfcbe80beecafe4f3be894a5e47aacb.tar.gz |
Consistently use GdkModifierType. (#66950, Mark Patton)
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)
* 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)
Diffstat (limited to 'gtk/gtkbindings.h')
-rw-r--r-- | gtk/gtkbindings.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk/gtkbindings.h b/gtk/gtkbindings.h index b5e6ed246a..93bd46e230 100644 --- a/gtk/gtkbindings.h +++ b/gtk/gtkbindings.h @@ -65,7 +65,7 @@ struct _GtkBindingEntry /* key portion */ guint keyval; - guint modifiers; + GdkModifierType modifiers; GtkBindingSet *binding_set; guint destroyed : 1; @@ -101,18 +101,18 @@ GtkBindingSet* gtk_binding_set_by_class(gpointer object_class); GtkBindingSet* gtk_binding_set_find (const gchar *set_name); gboolean gtk_bindings_activate (GtkObject *object, guint keyval, - guint modifiers); + GdkModifierType modifiers); gboolean gtk_binding_set_activate (GtkBindingSet *binding_set, guint keyval, - guint modifiers, + GdkModifierType modifiers, GtkObject *object); #define gtk_binding_entry_add gtk_binding_entry_clear void gtk_binding_entry_clear (GtkBindingSet *binding_set, guint keyval, - guint modifiers); + GdkModifierType modifiers); void gtk_binding_entry_add_signal (GtkBindingSet *binding_set, guint keyval, - guint modifiers, + GdkModifierType modifiers, const gchar *signal_name, guint n_args, ...); @@ -126,10 +126,10 @@ void gtk_binding_set_add_path (GtkBindingSet *binding_set, void gtk_binding_entry_remove (GtkBindingSet *binding_set, guint keyval, - guint modifiers); + GdkModifierType modifiers); void gtk_binding_entry_add_signall (GtkBindingSet *binding_set, guint keyval, - guint modifiers, + GdkModifierType modifiers, const gchar *signal_name, GSList *binding_args); guint gtk_binding_parse_binding (GScanner *scanner); |