diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-11-15 03:43:54 +0100 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-11-16 16:20:47 +0900 |
commit | 1a1c4be6c377757de2a6035958ffe60331ec252d (patch) | |
tree | d7962fc927a08c4a3a9045060cecfdd25642fa47 /gdk | |
parent | 236f15c3a908c1240b3c0be098d5f11fc0889f40 (diff) | |
download | gtk+-1a1c4be6c377757de2a6035958ffe60331ec252d.tar.gz |
docs: Move documentation to inline comments: gdkdisplaymanager
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; |