From 85d612a968c1d02a958f57c38d1ce90ceea4afc9 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 1 Feb 2014 10:15:20 -0500 Subject: [PATCH] gmain: Convert docs to markdown In particular, convert lists to markdown syntax. --- glib/gmain.c | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/glib/gmain.c b/glib/gmain.c index d4f1282..38feb2c 100644 --- a/glib/gmain.c +++ b/glib/gmain.c @@ -2823,26 +2823,17 @@ get_dispatch (void) * many things that the user could do. Instead, you can use the * following techniques: * - * - * - * - * Use gtk_widget_set_sensitive() or modal dialogs to prevent - * the user from interacting with elements while the main - * loop is recursing. - * - * - * - * - * Avoid main loop recursion in situations where you can't handle - * arbitrary callbacks. Instead, structure your code so that you - * simply return to the main loop and then get called again when - * there is more work to do. - * - * - * + * 1. Use gtk_widget_set_sensitive() or modal dialogs to prevent + * the user from interacting with elements while the main + * loop is recursing. + * + * 2. Avoid main loop recursion in situations where you can't handle + * arbitrary callbacks. Instead, structure your code so that you + * simply return to the main loop and then get called again when + * there is more work to do. * * Return value: The main loop recursion level in the current thread - **/ + */ int g_main_depth (void) { -- 2.7.4