[gtk+/treeview-refactor: 230/257] docs: Move documentation to inline comments: gdkdisplaymanager
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/treeview-refactor: 230/257] docs: Move documentation to inline comments: gdkdisplaymanager
- Date: Tue, 16 Nov 2010 07:17:21 +0000 (UTC)
commit 1a1c4be6c377757de2a6035958ffe60331ec252d
Author: Javier Jardón <jjardon gnome org>
Date: Mon Nov 15 03:43:54 2010 +0100
docs: Move documentation to inline comments: gdkdisplaymanager
docs/reference/gdk/tmpl/.gitignore | 1 +
docs/reference/gdk/tmpl/gdkdisplaymanager.sgml | 90 ------------------------
gdk/gdkdisplaymanager.c | 15 +++--
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 3914941..ba7656b 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/gdk/gdkdisplaymanager.c b/gdk/gdkdisplaymanager.c
index 5da2c02..ec975f2 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 9b0afc9..4d5bd98 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]