summaryrefslogtreecommitdiff
path: root/gtk/gtkimcontext.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2014-01-27 14:55:18 -0500
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2014-01-29 12:45:49 -0500
commit4c8bd8e7cf2a4850ad3aac83c0f3d6eb9c5540bd (patch)
tree6538e74167af906319ea494a08d831881fea5365 /gtk/gtkimcontext.c
parent768bc44081550be18ee19697ed36b5f92298ef11 (diff)
downloadgtk+-4c8bd8e7cf2a4850ad3aac83c0f3d6eb9c5540bd.tar.gz
docs: Identify examples that are C code
https://bugzilla.gnome.org/show_bug.cgi?id=723119
Diffstat (limited to 'gtk/gtkimcontext.c')
-rw-r--r--gtk/gtkimcontext.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkimcontext.c b/gtk/gtkimcontext.c
index f44a00a322..9e0a9eb938 100644
--- a/gtk/gtkimcontext.c
+++ b/gtk/gtkimcontext.c
@@ -58,7 +58,7 @@
* implements a subclass of #GtkIMContext or #GtkIMContextSimple and exports
* these four functions:
*
- * |[
+ * |[<!-- language="C" -->
* void im_module_init(#GTypeModule *module);
* ]|
* This function should register the #GType of the #GtkIMContext subclass which
@@ -66,12 +66,12 @@
* that g_type_register_static() cannot be used as the type needs to be
* registered dynamically.
*
- * |[
+ * |[<!-- language="C" -->
* void im_module_exit(void);
* ]|
* Here goes any cleanup code your input method might require on module unload.
*
- * |[
+ * |[<!-- language="C" -->
* void im_module_list(const #GtkIMContextInfo ***contexts, int *n_contexts)
* {
* *contexts = info_list;
@@ -83,7 +83,7 @@
* pointer to statically defined array of #GtkIMContextInfo items for each
* provided input method.
*
- * |[
+ * |[<!-- language="C" -->
* #GtkIMContext * im_module_create(const #gchar *context_id);
* ]|
* This function should return a pointer to a newly created instance of the