diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-02-14 23:34:22 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-02-14 23:34:22 -0500 |
commit | c779b42476ef0e33a22c13104b0b9351c370d71c (patch) | |
tree | f6bd9f652cdedad52b54168ebbacc69f7261e541 /gdk/gdk.c | |
parent | e179c65da037a2354cc8db4f824590014ef8bc87 (diff) | |
download | gtk+-c779b42476ef0e33a22c13104b0b9351c370d71c.tar.gz |
Docs: use // for comments in examples
Without sgml mode, we can't escape /* as /* anymore,
so just switch to // for comments in examples.
Diffstat (limited to 'gdk/gdk.c')
-rw-r--r-- | gdk/gdk.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -673,14 +673,14 @@ gdk_threads_dispatch_free (gpointer data) * static gboolean * idle_callback (gpointer data) * { - * /* gdk_threads_enter(); would be needed for g_idle_add() */ + * // gdk_threads_enter(); would be needed for g_idle_add() * * SomeWidget *self = data; - * /* do stuff with self */ + * // do stuff with self * * self->idle_id = 0; * - * /* gdk_threads_leave(); would be needed for g_idle_add() */ + * // gdk_threads_leave(); would be needed for g_idle_add() * return FALSE; * } * @@ -688,7 +688,7 @@ gdk_threads_dispatch_free (gpointer data) * some_widget_do_stuff_later (SomeWidget *self) * { * self->idle_id = gdk_threads_add_idle (idle_callback, self) - * /* using g_idle_add() here would require thread protection in the callback */ + * // using g_idle_add() here would require thread protection in the callback * } * * static void @@ -780,7 +780,7 @@ gdk_threads_add_idle (GSourceFunc function, * { * SomeWidget *self = data; * - * /* do stuff with self */ + * // do stuff with self * * self->timeout_id = 0; * |