Commit 3e8b3a13 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

Clarify doc comment.

Mon Mar  1 09:17:32 2004  Owen Taylor  <otaylor@redhat.com>

        * glib/gmain.c (g_main_depth): Clarify doc comment.
parent 4bd93db8
Mon Mar 1 09:17:32 2004 Owen Taylor <otaylor@redhat.com>
* glib/gmain.c (g_main_depth): Clarify doc comment.
2004-03-01 Sebastian Wilhelmi <seppi@seppi.de>
* glib/gatomic.c: Define g_atomic_(int|pointer)_get only for
......
Mon Mar 1 09:17:32 2004 Owen Taylor <otaylor@redhat.com>
* glib/gmain.c (g_main_depth): Clarify doc comment.
2004-03-01 Sebastian Wilhelmi <seppi@seppi.de>
* glib/gatomic.c: Define g_atomic_(int|pointer)_get only for
......
Mon Mar 1 09:17:32 2004 Owen Taylor <otaylor@redhat.com>
* glib/gmain.c (g_main_depth): Clarify doc comment.
2004-03-01 Sebastian Wilhelmi <seppi@seppi.de>
* glib/gatomic.c: Define g_atomic_(int|pointer)_get only for
......
Mon Mar 1 09:17:32 2004 Owen Taylor <otaylor@redhat.com>
* glib/gmain.c (g_main_depth): Clarify doc comment.
2004-03-01 Sebastian Wilhelmi <seppi@seppi.de>
* glib/gatomic.c: Define g_atomic_(int|pointer)_get only for
......
Mon Mar 1 09:17:32 2004 Owen Taylor <otaylor@redhat.com>
* glib/gmain.c (g_main_depth): Clarify doc comment.
2004-03-01 Sebastian Wilhelmi <seppi@seppi.de>
* glib/gatomic.c: Define g_atomic_(int|pointer)_get only for
......
Mon Mar 1 09:17:32 2004 Owen Taylor <otaylor@redhat.com>
* glib/gmain.c (g_main_depth): Clarify doc comment.
2004-03-01 Sebastian Wilhelmi <seppi@seppi.de>
* glib/gatomic.c: Define g_atomic_(int|pointer)_get only for
......
......@@ -1824,13 +1824,10 @@ get_depth_pointer (void)
* problems with reentrancy. For instance, while waiting for data
* to be received from the network in response to a menu item,
* the menu item might be selected again. It might seem that
* one could write:
*
* if (g_main_depth () > 1)
* return;
*
* This should be avoided since the user then sees selecting the
* menu item do nothing. Furthermore, you'll find yourself adding
* one could make the menu item's callback return immediately
* and do nothing if g_main_depth() returns a value greater than 1.
* However, this should be avoided since the user then sees selecting
* the menu item do nothing. Furthermore, you'll find yourself adding
* these checks all over your code, since there are doubtless many,
* many things that the user could do. Instead, you can use the
* following techniques:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment