From 90671cd3cd0a98e8f706acf6e72d037aba1892e5 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 1 Jun 2014 09:38:49 -0400 Subject: [PATCH] docs: Add missing language annotations --- gio/gdbusauthobserver.c | 2 +- glib/ghash.c | 2 +- glib/gvariant.c | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gio/gdbusauthobserver.c b/gio/gdbusauthobserver.c index cd463b0..23e7f31 100644 --- a/gio/gdbusauthobserver.c +++ b/gio/gdbusauthobserver.c @@ -45,7 +45,7 @@ * processes owned by the same uid as the server, you would use a * signal handler like the following: * - * |[ + * |[ * static gboolean * on_authorize_authenticated_peer (GDBusAuthObserver *observer, * GIOStream *stream, diff --git a/glib/ghash.c b/glib/ghash.c index 23f4a44..f597958 100644 --- a/glib/ghash.c +++ b/glib/ghash.c @@ -810,7 +810,7 @@ iter_remove_or_steal (RealIter *ri, gboolean notify) * values are freed yourself. * * It is safe to continue iterating the #GHashTable afterward: - * |[ + * |[ * while (g_hash_table_iter_next (&iter, &key, &value)) * { * if (condition) diff --git a/glib/gvariant.c b/glib/gvariant.c index 3b0099f..aca9579 100644 --- a/glib/gvariant.c +++ b/glib/gvariant.c @@ -3665,7 +3665,7 @@ g_variant_builder_end (GVariantBuilder *builder) * * ## Using a stack-allocated GVariantDict * - * |[ + * |[ * GVariant * * add_to_count (GVariant *orig, * GError **error) @@ -3689,7 +3689,7 @@ g_variant_builder_end (GVariantBuilder *builder) * * ## Using heap-allocated GVariantDict * - * |[ + * |[ * GVariant * * add_to_count (GVariant *orig, * GError **error) @@ -5158,7 +5158,7 @@ g_variant_valist_get (const gchar **str, * specified in @format_string. This can be achieved by casting them. See * the [GVariant varargs documentation][gvariant-varargs]. * - * |[ + * |[ * MyFlags some_flags = FLAG_ONE | FLAG_TWO; * const gchar *some_strings[] = { "a", "b", "c", NULL }; * GVariant *new_variant; -- 2.7.4