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 * many things that the user could do. Instead, you can use the
* following techniques: * following techniques:
* *
* <orderedlist> * 1. Use gtk_widget_set_sensitive() or modal dialogs to prevent
* <listitem>
* <para>
* Use gtk_widget_set_sensitive() or modal dialogs to prevent
* the user from interacting with elements while the main * the user from interacting with elements while the main
* loop is recursing. * loop is recursing.
* </para> *
* </listitem> * 2. Avoid main loop recursion in situations where you can't handle
* <listitem>
* <para>
* Avoid main loop recursion in situations where you can't handle
* arbitrary callbacks. Instead, structure your code so that you * arbitrary callbacks. Instead, structure your code so that you
* simply return to the main loop and then get called again when * simply return to the main loop and then get called again when
* there is more work to do. * there is more work to do.
* </para>
* </listitem>
* </orderedlist>
* *
* Return value: The main loop recursion level in the current thread * Return value: The main loop recursion level in the current thread
**/ */
int int
g_main_depth (void) g_main_depth (void)
{ {