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/gdkcursorprivate.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/gdkcursorprivate.h')
-rw-r--r-- | gdk/gdkcursorprivate.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk/gdkcursorprivate.h b/gdk/gdkcursorprivate.h index 6a3a407d9b..3d32ffb18f 100644 --- a/gdk/gdkcursorprivate.h +++ b/gdk/gdkcursorprivate.h @@ -31,6 +31,10 @@ G_BEGIN_DECLS +#define GDK_CURSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_CURSOR, GdkCursorClass)) +#define GDK_IS_CURSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_CURSOR)) +#define GDK_CURSOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_CURSOR, GdkCursorClass)) + typedef struct _GdkCursorClass GdkCursorClass; struct _GdkCursor |