summaryrefslogtreecommitdiff
path: root/gtk/gtkbindings.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-01-30 03:07:14 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-01-30 03:07:14 +0000
commita75a0d494bfcbe80beecafe4f3be894a5e47aacb (patch)
treeeb3e394b783ca1c916ffed5009a6e151b523ed1e /gtk/gtkbindings.h
parent36655ffa797750370763cccedf1df1449eb706c1 (diff)
downloadgtk+-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.h14
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);