]> Pileus Git - ~andy/gtk/blob - gtk/gtkaccelgroupprivate.h
Rename GdkQuartzWindow.h and .c to GdkQuartzNSWindow.h and .c
[~andy/gtk] / gtk / gtkaccelgroupprivate.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* GTK - The GIMP Toolkit
3  * Copyright (C) Javier Jardón <jjardon@gnome.org>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18  * Boston, MA 02111-1307, USA.
19  */
20
21 #ifndef __GTK_ACCEL_GROUP_PRIVATE_H__
22 #define __GTK_ACCEL_GROUP_PRIVATE_H__
23
24
25 #define GTK_ACCEL_GROUP_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GTK_TYPE_ACCEL_GROUP, GtkAccelGroupPrivate))
26
27 struct _GtkAccelGroupPrivate
28 {
29   guint               lock_count;
30   GdkModifierType     modifier_mask;
31   GSList             *acceleratables;
32   guint               n_accels;
33   GtkAccelGroupEntry *priv_accels;
34 };
35
36 #endif  /* __GTK_ACCEL_GROUP_PRIVATE_H__ */