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 | |
parent | 236f15c3a908c1240b3c0be098d5f11fc0889f40 (diff) | |
download | gtk+-1a1c4be6c377757de2a6035958ffe60331ec252d.tar.gz |
docs: Move documentation to inline comments: gdkdisplaymanager
-rw-r--r-- | docs/reference/gdk/tmpl/.gitignore | 1 | ||||
-rw-r--r-- | docs/reference/gdk/tmpl/gdkdisplaymanager.sgml | 90 | ||||
-rw-r--r-- | gdk/gdkdisplaymanager.c | 15 | ||||
-rw-r--r-- | gdk/gdkdisplaymanager.h | 10 |
4 files changed, 19 insertions, 97 deletions
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 @@ -<!-- ##### SECTION Title ##### --> -GdkDisplayManager - -<!-- ##### SECTION Short_Description ##### --> -Maintains a list of all open <type>GdkDisplay</type>s - -<!-- ##### SECTION Long_Description ##### --> -<para> -The purpose of the #GdkDisplayManager singleton object is to offer -notification when displays appear or disappear or the default display -changes. -</para> - -<!-- ##### SECTION See_Also ##### --> -<para> - -</para> - -<!-- ##### SECTION Stability_Level ##### --> - - -<!-- ##### SECTION Image ##### --> - - -<!-- ##### STRUCT GdkDisplayManager ##### --> -<para> -The <structname>GdkDisplayManager</structname> struct has no interesting -fields. -</para> - -@Since: 2.2 - -<!-- ##### SIGNAL GdkDisplayManager::display-opened ##### --> -<para> - -</para> - -@gdkdisplaymanager: the object which received the signal. -@arg1: - -<!-- ##### ARG GdkDisplayManager:default-display ##### --> -<para> - -</para> - -<!-- ##### FUNCTION gdk_display_manager_get ##### --> -<para> - -</para> - -@void: -@Returns: - - -<!-- ##### FUNCTION gdk_display_manager_get_default_display ##### --> -<para> - -</para> - -@display_manager: -@Returns: - - -<!-- ##### FUNCTION gdk_display_manager_set_default_display ##### --> -<para> - -</para> - -@display_manager: -@display: - - -<!-- ##### FUNCTION gdk_display_manager_list_displays ##### --> -<para> - -</para> - -@display_manager: -@Returns: - - -<!-- ##### FUNCTION gdk_display_get_core_pointer ##### --> -<para> - -</para> - -@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; |