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/gdkdndprivate.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/gdkdndprivate.h')
-rw-r--r-- | gdk/gdkdndprivate.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdk/gdkdndprivate.h b/gdk/gdkdndprivate.h index ca82bdc14a..618f0cc075 100644 --- a/gdk/gdkdndprivate.h +++ b/gdk/gdkdndprivate.h @@ -24,6 +24,14 @@ G_BEGIN_DECLS + +#define GDK_DRAG_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_DRAG_CONTEXT, GdkDragContextClass)) +#define GDK_IS_DRAG_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_DRAG_CONTEXT)) +#define GDK_DRAG_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_DRAG_CONTEXT, GdkDragContextClass)) + +typedef struct _GdkDragContextClass GdkDragContextClass; + + struct _GdkDragContextClass { GObjectClass parent_class; |