summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/gtk/other_software.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/reference/gtk/other_software.sgml b/docs/reference/gtk/other_software.sgml
index 4b413a2b45..dde4295e6b 100644
--- a/docs/reference/gtk/other_software.sgml
+++ b/docs/reference/gtk/other_software.sgml
@@ -121,9 +121,9 @@ Here's a simple example:
do_small_part_of_task ();
if (task_complete)
- return FALSE; /* removes the idle handler */
+ return G_SOURCE_REMOVE; /* removes the idle handler */
else
- return TRUE; /* runs the idle handler again */
+ return G_SOURCE_CONTINUE; /* runs the idle handler again */
}
g_idle_add (my_idle_handler, NULL);