summaryrefslogtreecommitdiff
path: root/gdk/gdk.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 /gdk/gdk.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 'gdk/gdk.c')
-rw-r--r--gdk/gdk.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdk/gdk.c b/gdk/gdk.c
index 3bc27f5ef2..664b011223 100644
--- a/gdk/gdk.c
+++ b/gdk/gdk.c
@@ -502,7 +502,7 @@ gdk_init (int *argc, char ***argv)
*
* A minimal main program for a threaded GTK+ application
* looks like:
- * |[
+ * |[<!-- language="C" -->
* int
* main (int argc, char *argv[])
* {
@@ -532,7 +532,7 @@ gdk_init (int *argc, char ***argv)
*
* Erik Mouw contributed the following code example to
* illustrate how to use threads within GTK+ programs.
- * |[
+ * |[<!-- language="C" -->
* /<!---->*-------------------------------------------------------------------------
* * Filename: gtk-thread.c
* * Version: 0.99.1
@@ -843,7 +843,7 @@ gdk_threads_dispatch_free (gpointer data)
* running in thread A and accessing @self after it has been finalized
* in thread B:
*
- * |[
+ * |[<!-- language="C" -->
* static gboolean
* idle_callback (gpointer data)
* {
@@ -949,7 +949,7 @@ gdk_threads_add_idle (GSourceFunc function,
* This variant of g_timeout_add_full() can be thought of a MT-safe version
* for GTK+ widgets for the following use case:
*
- * |[
+ * |[<!-- language="C" -->
* static gboolean timeout_callback (gpointer data)
* {
* SomeWidget *self = data;