diff options
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/gdkdisplaymanager.c | 15 | ||||
-rw-r--r-- | gdk/gdkdisplaymanager.h | 10 |
2 files changed, 18 insertions, 7 deletions
diff --git a/gdk/gdkdisplaymanager.c b/gdk/gdkdisplaymanager.c index 5da2c02184..ec975f26fa 100644 --- a/gdk/gdkdisplaymanager.c +++ b/gdk/gdkdisplaymanager.c @@ -35,14 +35,19 @@ #include "gdkintl.h" -struct _GdkDisplayManager -{ - GObject parent_instance; -}; +/** + * SECTION:gdkdisplaymanager + * @Short_description: Maintains a list of all open GdkDisplays + * @Title: GdkDisplayManager + * + * The purpose of the #GdkDisplayManager singleton object is to offer + * notification when displays appear or disappear or the default display + * changes. + */ + enum { PROP_0, - PROP_DEFAULT_DISPLAY }; diff --git a/gdk/gdkdisplaymanager.h b/gdk/gdkdisplaymanager.h index 9b0afc9f8a..4d5bd989a4 100644 --- a/gdk/gdkdisplaymanager.h +++ b/gdk/gdkdisplaymanager.h @@ -36,8 +36,6 @@ G_BEGIN_DECLS -typedef struct _GdkDisplayManager GdkDisplayManager; -typedef struct _GdkDisplayManagerClass GdkDisplayManagerClass; #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)) @@ -46,6 +44,14 @@ typedef struct _GdkDisplayManagerClass GdkDisplayManagerClass; #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 _GdkDisplayManager GdkDisplayManager; +typedef struct _GdkDisplayManagerClass GdkDisplayManagerClass; + +struct _GdkDisplayManager +{ + GObject parent_instance; +}; + struct _GdkDisplayManagerClass { GObjectClass parent_class; |