[glib] Move gmain docs inline



commit b04f6dbca02e9f15e07fb82cb52287c5ce15e861
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jun 8 23:48:55 2011 -0400

    Move gmain docs inline

 docs/reference/glib/tmpl/.gitignore |    1 +
 docs/reference/glib/tmpl/main.sgml  |  906 -----------------------------------
 glib/gmain.h                        |   16 +
 3 files changed, 17 insertions(+), 906 deletions(-)
---
diff --git a/docs/reference/glib/tmpl/.gitignore b/docs/reference/glib/tmpl/.gitignore
index 2c7fc71..2c178fe 100644
--- a/docs/reference/glib/tmpl/.gitignore
+++ b/docs/reference/glib/tmpl/.gitignore
@@ -21,6 +21,7 @@ hash_tables.sgml
 iochannels.sgml
 linked_lists_double.sgml
 linked_lists_single.sgml
+main.sgml
 markup.sgml
 memory_chunks.sgml
 memory.sgml
diff --git a/glib/gmain.h b/glib/gmain.h
index bd94651..314b06c 100644
--- a/glib/gmain.h
+++ b/glib/gmain.h
@@ -123,6 +123,16 @@ typedef struct _GSourceFuncs            GSourceFuncs;
  * while Windows uses process handles (which are pointers).
  */
 
+/**
+ * GSourceFunc:
+ * @data: data passed to the function, set when the source was
+ *     created with one of the above functions
+ *
+ * Specifies the type of function passed to g_timeout_add(),
+ * g_timeout_add_full(), g_idle_add(), and g_idle_add_full().
+ *
+ * Returns: %FALSE if the source should be removed
+ */
 typedef gboolean (*GSourceFunc)       (gpointer data);
 
 /**
@@ -172,6 +182,12 @@ struct _GSourceCallbackFuncs
                  gpointer    *data);
 };
 
+/**
+ * GSourceDummyMarshal:
+ *
+ * This is just a placeholder for #GClosureMarshal,
+ * which cannot be used here for dependency reasons.
+ */
 typedef void (*GSourceDummyMarshal) (void);
 
 struct _GSourceFuncs



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]