diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-04-05 02:04:12 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-04-05 02:06:29 -0400 |
commit | fee33b1a8148c1315b9db6a18719b355b78ddde1 (patch) | |
tree | 13953c96bb1c84a6b9763406098ff46d18210669 /gtk/gtkaccelgroupprivate.h | |
parent | 08e1c85addf58e775adec8273cbfd66a00bfc284 (diff) | |
download | gtk+-fee33b1a8148c1315b9db6a18719b355b78ddde1.tar.gz |
Clean up private headers
This commit adds a few missing private headers, and cleans up
some irregularities in the existing ones
Diffstat (limited to 'gtk/gtkaccelgroupprivate.h')
-rw-r--r-- | gtk/gtkaccelgroupprivate.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/gtk/gtkaccelgroupprivate.h b/gtk/gtkaccelgroupprivate.h index f1eb28ac42..0537f1f75e 100644 --- a/gtk/gtkaccelgroupprivate.h +++ b/gtk/gtkaccelgroupprivate.h @@ -1,5 +1,6 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* GTK - The GIMP Toolkit + * Copyright (C) 1998, 2001 Tim Janik * Copyright (C) Javier Jardón <jjardon@gnome.org> * * This library is free software; you can redistribute it and/or @@ -20,6 +21,10 @@ #define __GTK_ACCEL_GROUP_PRIVATE_H__ +#include <gtk/gtkaccelgroup.h> + +G_BEGIN_DECLS + struct _GtkAccelGroupPrivate { guint lock_count; @@ -29,4 +34,17 @@ struct _GtkAccelGroupPrivate GtkAccelGroupEntry *priv_accels; }; -#endif /* __GTK_ACCEL_GROUP_PRIVATE_H__ */ +void _gtk_accel_group_reconnect (GtkAccelGroup *accel_group, + GQuark accel_path_quark); +GSList* _gtk_accel_group_get_accelerables (GtkAccelGroup *accel_group); + +struct _GtkAccelGroupEntry +{ + GtkAccelKey key; + GClosure *closure; + GQuark accel_path_quark; +}; + +G_END_DECLS + +#endif /* __GTK_ACCEL_GROUP_PRIVATE_H__ */ |