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/gdkdisplaymanager.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/gdkdisplaymanager.h')
-rw-r--r-- | gdk/gdkdisplaymanager.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gdk/gdkdisplaymanager.h b/gdk/gdkdisplaymanager.h index dccca92541..4c0e02cc11 100644 --- a/gdk/gdkdisplaymanager.h +++ b/gdk/gdkdisplaymanager.h @@ -39,14 +39,10 @@ G_BEGIN_DECLS #define GDK_TYPE_DISPLAY_MANAGER (gdk_display_manager_get_type ()) #define GDK_DISPLAY_MANAGER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_DISPLAY_MANAGER, GdkDisplayManager)) -#define GDK_DISPLAY_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_DISPLAY_MANAGER, GdkDisplayManagerClass)) #define GDK_IS_DISPLAY_MANAGER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_DISPLAY_MANAGER)) -#define GDK_IS_DISPLAY_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_DISPLAY_MANAGER)) -#define GDK_DISPLAY_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_DISPLAY_MANAGER, GdkDisplayManagerClass)) -typedef struct _GdkDisplayManagerClass GdkDisplayManagerClass; -GType gdk_display_manager_get_type (void) G_GNUC_CONST; +GType gdk_display_manager_get_type (void) G_GNUC_CONST; GdkDisplayManager *gdk_display_manager_get (void); GdkDisplay * gdk_display_manager_get_default_display (GdkDisplayManager *manager); |