diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2014-01-27 14:55:18 -0500 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2014-01-29 12:45:49 -0500 |
commit | 4c8bd8e7cf2a4850ad3aac83c0f3d6eb9c5540bd (patch) | |
tree | 6538e74167af906319ea494a08d831881fea5365 /gdk/gdk.c | |
parent | 768bc44081550be18ee19697ed36b5f92298ef11 (diff) | |
download | gtk+-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.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; |