summaryrefslogtreecommitdiff
path: root/docs/faq
diff options
context:
space:
mode:
Diffstat (limited to 'docs/faq')
-rw-r--r--docs/faq/gtk-faq.sgml2
-rw-r--r--docs/faq/gtkfaq.sgml2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/faq/gtk-faq.sgml b/docs/faq/gtk-faq.sgml
index ab8e05b8d1..dd3fc8b89c 100644
--- a/docs/faq/gtk-faq.sgml
+++ b/docs/faq/gtk-faq.sgml
@@ -1920,7 +1920,7 @@ drawing queue to be processed using something like:</para>
<programlisting role="C">
-while (gtk_main_iteration());
+while (g_main_iteration(FALSE));
</programlisting>
<para>inside you're function that changes the widget.</para>
diff --git a/docs/faq/gtkfaq.sgml b/docs/faq/gtkfaq.sgml
index e5f0bdf42a..198263fc04 100644
--- a/docs/faq/gtkfaq.sgml
+++ b/docs/faq/gtkfaq.sgml
@@ -1617,7 +1617,7 @@ placed on a queue, which is processed within <tt/gtk_main()/. You can
force the drawing queue to be processed using something like:
<tscreen><verb>
-while (gtk_main_iteration(FALSE));
+while (g_main_iteration(FALSE));
</verb></tscreen>
inside you're function that changes the widget.