+Mon Dec 21 03:48:04 1998 Tim Janik <timj@gtk.org>
+
+ * gmain.c (g_main_iterate): default initialize source_timeout with -1
+ so we have a sane timeout value if (*prpare) doesn't set it.
+
Sat Dec 19 16:56:02 1998 Owen Taylor <otaylor@redhat.com>
* glib.h gmain.c (G_PRIORITY_LOW): Add #defines defining
+Mon Dec 21 03:48:04 1998 Tim Janik <timj@gtk.org>
+
+ * gmain.c (g_main_iterate): default initialize source_timeout with -1
+ so we have a sane timeout value if (*prpare) doesn't set it.
+
Sat Dec 19 16:56:02 1998 Owen Taylor <otaylor@redhat.com>
* glib.h gmain.c (G_PRIORITY_LOW): Add #defines defining
+Mon Dec 21 03:48:04 1998 Tim Janik <timj@gtk.org>
+
+ * gmain.c (g_main_iterate): default initialize source_timeout with -1
+ so we have a sane timeout value if (*prpare) doesn't set it.
+
Sat Dec 19 16:56:02 1998 Owen Taylor <otaylor@redhat.com>
* glib.h gmain.c (G_PRIORITY_LOW): Add #defines defining
+Mon Dec 21 03:48:04 1998 Tim Janik <timj@gtk.org>
+
+ * gmain.c (g_main_iterate): default initialize source_timeout with -1
+ so we have a sane timeout value if (*prpare) doesn't set it.
+
Sat Dec 19 16:56:02 1998 Owen Taylor <otaylor@redhat.com>
* glib.h gmain.c (G_PRIORITY_LOW): Add #defines defining
+Mon Dec 21 03:48:04 1998 Tim Janik <timj@gtk.org>
+
+ * gmain.c (g_main_iterate): default initialize source_timeout with -1
+ so we have a sane timeout value if (*prpare) doesn't set it.
+
Sat Dec 19 16:56:02 1998 Owen Taylor <otaylor@redhat.com>
* glib.h gmain.c (G_PRIORITY_LOW): Add #defines defining
+Mon Dec 21 03:48:04 1998 Tim Janik <timj@gtk.org>
+
+ * gmain.c (g_main_iterate): default initialize source_timeout with -1
+ so we have a sane timeout value if (*prpare) doesn't set it.
+
Sat Dec 19 16:56:02 1998 Owen Taylor <otaylor@redhat.com>
* glib.h gmain.c (G_PRIORITY_LOW): Add #defines defining
+Mon Dec 21 03:48:04 1998 Tim Janik <timj@gtk.org>
+
+ * gmain.c (g_main_iterate): default initialize source_timeout with -1
+ so we have a sane timeout value if (*prpare) doesn't set it.
+
Sat Dec 19 16:56:02 1998 Owen Taylor <otaylor@redhat.com>
* glib.h gmain.c (G_PRIORITY_LOW): Add #defines defining
+Mon Dec 21 03:48:04 1998 Tim Janik <timj@gtk.org>
+
+ * gmain.c (g_main_iterate): default initialize source_timeout with -1
+ so we have a sane timeout value if (*prpare) doesn't set it.
+
Sat Dec 19 16:56:02 1998 Owen Taylor <otaylor@redhat.com>
* glib.h gmain.c (G_PRIORITY_LOW): Add #defines defining
gboolean dispatch)
{
GHook *hook;
- GTimeVal current_time;
+ GTimeVal current_time ={ 0, 0 };
gint n_ready = 0;
gint current_priority = 0;
gint timeout;
{
GSource *source = (GSource *)hook;
GHook *tmp;
- gint source_timeout;
+ gint source_timeout = -1;
if ((n_ready > 0) && (source->priority > current_priority))
break;
gboolean dispatch)
{
GHook *hook;
- GTimeVal current_time;
+ GTimeVal current_time ={ 0, 0 };
gint n_ready = 0;
gint current_priority = 0;
gint timeout;
{
GSource *source = (GSource *)hook;
GHook *tmp;
- gint source_timeout;
+ gint source_timeout = -1;
if ((n_ready > 0) && (source->priority > current_priority))
break;