From: Matthias Clasen Date: Sat, 1 Feb 2014 15:15:20 +0000 (-0500) Subject: gmain: Convert docs to markdown X-Git-Tag: 2.39.4~46 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=85d612a968c1d02a958f57c38d1ce90ceea4afc9;p=platform%2Fupstream%2Fglib.git gmain: Convert docs to markdown In particular, convert lists to markdown syntax. --- 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) {