[glib] docs: Add missing language annotations



commit 90671cd3cd0a98e8f706acf6e72d037aba1892e5
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Jun 1 09:38:49 2014 -0400

    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:
  * 
- * |[
+ * |[<!-- language="C" -->
  * 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:
- * |[
+ * |[<!-- language="C" -->
  * 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
  *
- * |[
+ * |[<!-- language="C" -->
  *   GVariant *
  *   add_to_count (GVariant  *orig,
  *                 GError   **error)
@@ -3689,7 +3689,7 @@ g_variant_builder_end (GVariantBuilder *builder)
  *
  * ## Using heap-allocated GVariantDict
  *
- * |[
+ * |[<!-- language="C" -->
  *   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].
  *
- * |[
+ * |[<!-- language="C" -->
  * MyFlags some_flags = FLAG_ONE | FLAG_TWO;
  * const gchar *some_strings[] = { "a", "b", "c", NULL };
  * GVariant *new_variant;


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