From 133dfe55f32cb73b8889ffab24472d63eb3c4fd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Mon, 15 Nov 2010 03:43:54 +0100 Subject: [PATCH] docs: Move documentation to inline comments: gdkdisplaymanager --- docs/reference/gdk/tmpl/.gitignore | 1 + .../reference/gdk/tmpl/gdkdisplaymanager.sgml | 90 ------------------- gdk/gdkdisplaymanager.c | 15 ++-- gdk/gdkdisplaymanager.h | 10 ++- 4 files changed, 19 insertions(+), 97 deletions(-) delete mode 100644 docs/reference/gdk/tmpl/gdkdisplaymanager.sgml diff --git a/docs/reference/gdk/tmpl/.gitignore b/docs/reference/gdk/tmpl/.gitignore index 3914941720..ba7656b246 100644 --- a/docs/reference/gdk/tmpl/.gitignore +++ b/docs/reference/gdk/tmpl/.gitignore @@ -3,6 +3,7 @@ colors.sgml dnd.sgml gdkapplaunchcontext.sgml gdkdisplay.sgml +gdkdisplaymanager.sgml pixbufs.sgml regions.sgml windows.sgml diff --git a/docs/reference/gdk/tmpl/gdkdisplaymanager.sgml b/docs/reference/gdk/tmpl/gdkdisplaymanager.sgml deleted file mode 100644 index 253c5eda61..0000000000 --- a/docs/reference/gdk/tmpl/gdkdisplaymanager.sgml +++ /dev/null @@ -1,90 +0,0 @@ - -GdkDisplayManager - - -Maintains a list of all open GdkDisplays - - - -The purpose of the #GdkDisplayManager singleton object is to offer -notification when displays appear or disappear or the default display -changes. - - - - - - - - - - - - - - - -The GdkDisplayManager struct has no interesting -fields. - - -@Since: 2.2 - - - - - - -@gdkdisplaymanager: the object which received the signal. -@arg1: - - - - - - - - - - - -@void: -@Returns: - - - - - - - -@display_manager: -@Returns: - - - - - - - -@display_manager: -@display: - - - - - - - -@display_manager: -@Returns: - - - - - - - -@display: -@Returns: - - 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;