[glib] Mention GVariant format string docs from iter docs
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Mention GVariant format string docs from iter docs
- Date: Thu, 10 Jun 2010 12:09:00 +0000 (UTC)
commit 8d3fea9cff848d1b45c0a6371ef448c11d992757
Author: Ryan Lortie <desrt desrt ca>
Date: Thu Jun 10 08:06:32 2010 -0400
Mention GVariant format string docs from iter docs
It's not entirely clear what @format_string in iter_next() and
iter_loop() should be. Include a link to the GVariant format string
docs as a hint.
glib/gvariant.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/glib/gvariant.c b/glib/gvariant.c
index 47b6fbe..3b5fd8c 100644
--- a/glib/gvariant.c
+++ b/glib/gvariant.c
@@ -4023,6 +4023,9 @@ g_variant_get_child (GVariant *value,
* responsibility of the caller to free all of the values returned by
* the unpacking process.
*
+ * See the section on <link linkend='gvariant-format-strings'>GVariant
+ * Format Strings</link>.
+ *
* <example>
* <title>Memory management with g_variant_iter_next()</title>
* <programlisting>
@@ -4107,6 +4110,9 @@ g_variant_iter_next (GVariantIter *iter,
* function and g_variant_iter_next() or g_variant_iter_next_value() on
* the same iterator is not recommended.
*
+ * See the section on <link linkend='gvariant-format-strings'>GVariant
+ * Format Strings</link>.
+ *
* <example>
* <title>Memory management with g_variant_iter_loop()</title>
* <programlisting>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]