mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 04:56:14 +01:00
gmain: Convert docs to markdown
In particular, convert lists to markdown syntax.
This commit is contained in:
parent
c4da8f426a
commit
85d612a968
17
glib/gmain.c
17
glib/gmain.c
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user