summaryrefslogtreecommitdiff
path: root/gobject/gvaluearray.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-02-01 15:11:49 -0500
committerMatthias Clasen <mclasen@redhat.com>2014-02-01 15:11:49 -0500
commitadf892e96af403b8950dff1a370e4270ffaebc62 (patch)
tree43c4f7c21ae86c8540a75c275bba19c3227c7d64 /gobject/gvaluearray.c
parent701f00f12515dfad2092842f34ccbf11679406e3 (diff)
downloadglib-adf892e96af403b8950dff1a370e4270ffaebc62.tar.gz
glib-adf892e96af403b8950dff1a370e4270ffaebc62.tar.bz2
glib-adf892e96af403b8950dff1a370e4270ffaebc62.zip
Annotate all examples with their language
The C ones, at least.
Diffstat (limited to 'gobject/gvaluearray.c')
-rw-r--r--gobject/gvaluearray.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gobject/gvaluearray.c b/gobject/gvaluearray.c
index 2b8d7f22f..2ab84361a 100644
--- a/gobject/gvaluearray.c
+++ b/gobject/gvaluearray.c
@@ -45,13 +45,13 @@
* g_value_unset() as the clear function using g_array_set_clear_func(),
* for instance, the following code:
*
- * |[
+ * |[<!-- language="C" -->
* GValueArray *array = g_value_array_new (10);
* ]|
*
* can be replaced by:
*
- * |[
+ * |[<!-- language="C" -->
* GArray *array = g_array_sized_new (FALSE, TRUE, sizeof (GValue), 10);
* g_array_set_clear_func (array, (GDestroyNotify) g_value_unset);
* ]|