docs: Add missing language annotations

This commit is contained in:
Matthias Clasen 2014-06-01 09:38:49 -04:00
parent adfaf0e456
commit 90671cd3cd
3 changed files with 5 additions and 5 deletions

View File

@ -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,

View File

@ -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)

View File

@ -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;