mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-23 01:18:53 +02:00
Only set time_is_current to FALSE if context->timeout is not zero.
2004-04-22 Matthias Clasen <mclasen@redhat.com> * glib/gmain.c (g_main_context_query): Only set time_is_current to FALSE if context->timeout is not zero. (#137795, Christian Krause)
This commit is contained in:
committed by
Matthias Clasen
parent
b65c56ffd6
commit
cbfb32bcff
@@ -2349,7 +2349,7 @@ g_main_context_query (GMainContext *context,
|
||||
if (timeout)
|
||||
{
|
||||
*timeout = context->timeout;
|
||||
if (timeout != 0)
|
||||
if (*timeout != 0)
|
||||
context->time_is_current = FALSE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user