1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* GTK - The GIMP Toolkit
3  * Copyright (C) 1998, 2001 Tim Janik
4  * Copyright (C) Javier Jardón <jjardon@gnome.org>
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef __GTK_ACCEL_GROUP_PRIVATE_H__
21 #define __GTK_ACCEL_GROUP_PRIVATE_H__
22 
23 
24 #include <gtk/gtkaccelgroup.h>
25 
26 G_BEGIN_DECLS
27 
28 struct _GtkAccelGroupPrivate
29 {
30   guint               lock_count;
31   GdkModifierType     modifier_mask;
32   GSList             *acceleratables;
33   guint               n_accels;
34   GtkAccelGroupEntry *priv_accels;
35 };
36 
37 void	_gtk_accel_group_reconnect        (GtkAccelGroup *accel_group,
38                                            GQuark         accel_path_quark);
39 GSList* _gtk_accel_group_get_accelerables (GtkAccelGroup *accel_group);
40 
41 G_END_DECLS
42 
43 #endif /* __GTK_ACCEL_GROUP_PRIVATE_H__ */
44