gmain: Convert docs to markdown

In particular, convert lists to markdown syntax.
This commit is contained in:
Matthias Clasen 2014-02-01 10:15:20 -05:00
parent c4da8f426a
commit 85d612a968

View File

@ -2823,26 +2823,17 @@ get_dispatch (void)
* many things that the user could do. Instead, you can use the
* following techniques:
*
* <orderedlist>
* <listitem>
* <para>
* Use gtk_widget_set_sensitive() or modal dialogs to prevent
* 1. Use gtk_widget_set_sensitive() or modal dialogs to prevent
* the user from interacting with elements while the main
* loop is recursing.
* </para>
* </listitem>
* <listitem>
* <para>
* Avoid main loop recursion in situations where you can't handle
*
* 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.
* </para>
* </listitem>
* </orderedlist>
*
* Return value: The main loop recursion level in the current thread
**/
*/
int
g_main_depth (void)
{