summaryrefslogtreecommitdiff
path: root/gtk/gtkaccelgroup.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-09-24 21:54:15 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-09-24 21:54:15 +0000
commitad07608cc39bc1115de26f094b8aa08f46e23335 (patch)
tree6b1814fe655d9b5d5a370a945cbf19e34c291c44 /gtk/gtkaccelgroup.h
parente53e9652a52e468586df2ebdb03f51df781e9499 (diff)
downloadgtk+-ad07608cc39bc1115de26f094b8aa08f46e23335.tar.gz
Add a GtkAccelGroupFindFunc to clean up the prototype. (#76670, Vitaly
Tue Sep 24 17:49:52 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkaccelgroup.[ch] (gtk_accel_group_find): Add a GtkAccelGroupFindFunc to clean up the prototype. (#76670, Vitaly Tishkov) * gdk/x11/gdkvisual-x11.c gdk/x11/gdkx.h: Rename gdkx_visual_get_for_screen() to gdk_x11_screen_lookup_visual(). (#85702)
Diffstat (limited to 'gtk/gtkaccelgroup.h')
-rw-r--r--gtk/gtkaccelgroup.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/gtk/gtkaccelgroup.h b/gtk/gtkaccelgroup.h
index f006f38054..36666b31c5 100644
--- a/gtk/gtkaccelgroup.h
+++ b/gtk/gtkaccelgroup.h
@@ -61,6 +61,11 @@ typedef gboolean (*GtkAccelGroupActivate) (GtkAccelGroup *accel_group,
GObject *acceleratable,
guint keyval,
GdkModifierType modifier);
+
+typedef gboolean (*GtkAccelGroupFindFunc) (GtkAccelKey *key,
+ GClosure *closure,
+ gpointer data)
+
struct _GtkAccelGroup
{
GObject parent;
@@ -124,11 +129,9 @@ gboolean gtk_accel_groups_activate (GObject *object,
guint accel_key,
GdkModifierType accel_mods);
GSList* gtk_accel_groups_from_object (GObject *object);
-GtkAccelKey* gtk_accel_group_find (GtkAccelGroup *accel_group,
- gboolean (*find_func) (GtkAccelKey *key,
- GClosure *closure,
- gpointer data),
- gpointer data);
+GtkAccelKey* gtk_accel_group_find (GtkAccelGroup *accel_group,
+ GtkAccelGroupFindFunc find_func,
+ gpointer data);
GtkAccelGroup* gtk_accel_group_from_accel_closure (GClosure *closure);