diff options
author | Matthias Clasen <mclasen@redhat.com> | 2010-12-24 15:54:12 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-12-24 15:54:12 -0500 |
commit | 92f163d40a037ae083b8a55bb2f8129740a42a62 (patch) | |
tree | 000ab68ea12754077392d281abc4e75f7a4fb428 /gdk/gdkkeysprivate.h | |
parent | 806b6dfa08db0cdaa7d0489e085337b143896ea4 (diff) | |
download | gtk+-92f163d40a037ae083b8a55bb2f8129740a42a62.tar.gz |
Consistently hide class structs
And, since we've decided to keep the structs private, there is
no point in having the standard GObject clas macros anymore either.
Diffstat (limited to 'gdk/gdkkeysprivate.h')
-rw-r--r-- | gdk/gdkkeysprivate.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdk/gdkkeysprivate.h b/gdk/gdkkeysprivate.h index 7e02e56c96..c0f1f0eaa9 100644 --- a/gdk/gdkkeysprivate.h +++ b/gdk/gdkkeysprivate.h @@ -24,6 +24,12 @@ G_BEGIN_DECLS +#define GDK_KEYMAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_KEYMAP, GdkKeymapClass)) +#define GDK_IS_KEYMAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_KEYMAP)) +#define GDK_KEYMAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_KEYMAP, GdkKeymapClass)) + +typedef struct _GdkKeymapClass GdkKeymapClass; + struct _GdkKeymapClass { GObjectClass parent_class; |