summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2012-06-25 23:23:36 -0400
committerRyan Lortie <desrt@desrt.ca>2012-06-25 23:23:58 -0400
commit4780ee5d4a6057312abee9a8fcaad45a9897fe0e (patch)
tree88662cc9853831e1ee5d1109d2733dc996561516
parent130c249eacfba3b77ec110880661386e7945b898 (diff)
downloadglib-4780ee5d4a6057312abee9a8fcaad45a9897fe0e.tar.gz
glib/: gtk-doc cleanup
-rw-r--r--docs/reference/glib/glib-overrides.txt5
-rw-r--r--glib/docs.c3
-rw-r--r--glib/gkeyfile.c2
-rw-r--r--glib/gunicode.h2
4 files changed, 10 insertions, 2 deletions
diff --git a/docs/reference/glib/glib-overrides.txt b/docs/reference/glib/glib-overrides.txt
index 954dd5616..c8ae3d564 100644
--- a/docs/reference/glib/glib-overrides.txt
+++ b/docs/reference/glib/glib-overrides.txt
@@ -2,6 +2,11 @@
# functions, which they really were, if possible easy.
<MACRO>
+<NAME>GLIB_DISABLE_DEPRECATION_WARNINGS</NAME>
+#ifdef GLIB_DISABLE_DEPRECATION_WARNINGS
+</MACRO>
+
+<MACRO>
<NAME>G_ATOMIC_LOCK_FREE</NAME>
#define G_ATOMIC_LOCK_FREE
</MACRO>
diff --git a/glib/docs.c b/glib/docs.c
index a3d862cb2..049bc7323 100644
--- a/glib/docs.c
+++ b/glib/docs.c
@@ -2032,6 +2032,7 @@
/**
* G_DEPRECATED_FOR:
+ * @f: the name of the function that this function was deprecated for
*
* This macro is similar to %G_GNUC_DEPRECATED_FOR, and can be used to mark
* functions declarations as deprecated. Unlike %G_GNUC_DEPRECATED_FOR, it is
@@ -2043,6 +2044,8 @@
/**
* G_UNAVAILABLE:
+ * @maj: the major version that introduced the symbol
+ * @min: the minor version that introduced the symbol
*
* This macro can be used to mark a function declaration as unavailable.
* It must be placed before the function declaration. Use of a function
diff --git a/glib/gkeyfile.c b/glib/gkeyfile.c
index 98adf996e..310276d3b 100644
--- a/glib/gkeyfile.c
+++ b/glib/gkeyfile.c
@@ -861,7 +861,7 @@ g_key_file_load_from_file (GKeyFile *key_file,
/**
* g_key_file_load_from_data:
* @key_file: an empty #GKeyFile struct
- * @data: (length length): key file loaded in memory
+ * @data: (array length=length): key file loaded in memory
* @length: the length of @data in bytes (or -1 if data is nul-terminated)
* @flags: flags from #GKeyFileFlags
* @error: return location for a #GError, or %NULL
diff --git a/glib/gunicode.h b/glib/gunicode.h
index aafe93311..f9c2fd567 100644
--- a/glib/gunicode.h
+++ b/glib/gunicode.h
@@ -367,7 +367,7 @@ typedef enum
* @G_UNICODE_SCRIPT_MANDAIC: Mandaic. Since 2.28
* @G_UNICODE_SCRIPT_CHAKMA: Chakma. Since: 2.32
* @G_UNICODE_SCRIPT_MEROITIC_CURSIVE: Meroitic Cursive. Since: 2.32
- * @G_UNICODE_SCRIPT_MEROITIC_HIEROGLYPHS, Meroitic Hieroglyphs. Since: 2.32
+ * @G_UNICODE_SCRIPT_MEROITIC_HIEROGLYPHS: Meroitic Hieroglyphs. Since: 2.32
* @G_UNICODE_SCRIPT_MIAO: Miao. Since: 2.32
* @G_UNICODE_SCRIPT_SHARADA: Sharada. Since: 2.32
* @G_UNICODE_SCRIPT_SORA_SOMPENG: Sora Sompeng. Since: 2.32