[glib] Docs: Remove an example tag that has snuck back in
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Docs: Remove an example tag that has snuck back in
- Date: Sat, 8 Feb 2014 20:20:43 +0000 (UTC)
commit ebc4347b2c5adebd656c0977ba3242f1d7850569
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Feb 8 13:55:27 2014 -0500
Docs: Remove an example tag that has snuck back in
glib/gvariant.c | 18 ++++++++----------
1 files changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/glib/gvariant.c b/glib/gvariant.c
index b207354..2e98443 100644
--- a/glib/gvariant.c
+++ b/glib/gvariant.c
@@ -3662,9 +3662,9 @@ g_variant_builder_end (GVariantBuilder *builder)
* key is not found. Each returns the new dictionary as a floating
* #GVariant.
*
- * <example>
- * <title>Using stack-allocated #GVariantDict</title>
- * <programlisting>
+ * ## Using a stack-allocated GVariantDict
+ *
+ * |[
* GVariant *
* add_to_count (GVariant *orig,
* GError **error)
@@ -3684,12 +3684,11 @@ g_variant_builder_end (GVariantBuilder *builder)
*
* return g_variant_dict_end (&dict);
* }
- * </programlisting>
- * </example>
+ * ]|
*
- * <example>
- * <title>Using heap-allocated #GVariantDict</title>
- * <programlisting>
+ * ## Using heap-allocated GVariantDict
+ *
+ * |[
* GVariant *
* add_to_count (GVariant *orig,
* GError **error)
@@ -3715,8 +3714,7 @@ g_variant_builder_end (GVariantBuilder *builder)
*
* return result;
* }
- * </programlisting>
- * </example>
+ * ]|
*
* Since: 2.40
**/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]