+Tue Feb 5 17:13:02 2002 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmain.c (g_main_context_prepare): Unref pending
+ dispatches when discarding them.
+
2002-02-04 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gthread.c (g_thread_create_full): Delay allocation until
+Tue Feb 5 17:13:02 2002 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmain.c (g_main_context_prepare): Unref pending
+ dispatches when discarding them.
+
2002-02-04 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gthread.c (g_thread_create_full): Delay allocation until
+Tue Feb 5 17:13:02 2002 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmain.c (g_main_context_prepare): Unref pending
+ dispatches when discarding them.
+
2002-02-04 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gthread.c (g_thread_create_full): Delay allocation until
+Tue Feb 5 17:13:02 2002 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmain.c (g_main_context_prepare): Unref pending
+ dispatches when discarding them.
+
2002-02-04 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gthread.c (g_thread_create_full): Delay allocation until
+Tue Feb 5 17:13:02 2002 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmain.c (g_main_context_prepare): Unref pending
+ dispatches when discarding them.
+
2002-02-04 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gthread.c (g_thread_create_full): Delay allocation until
+Tue Feb 5 17:13:02 2002 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmain.c (g_main_context_prepare): Unref pending
+ dispatches when discarding them.
+
2002-02-04 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gthread.c (g_thread_create_full): Delay allocation until
+Tue Feb 5 17:13:02 2002 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmain.c (g_main_context_prepare): Unref pending
+ dispatches when discarding them.
+
2002-02-04 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gthread.c (g_thread_create_full): Delay allocation until
+Tue Feb 5 17:13:02 2002 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmain.c (g_main_context_prepare): Unref pending
+ dispatches when discarding them.
+
2002-02-04 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gthread.c (g_thread_create_full): Delay allocation until
g_main_context_prepare (GMainContext *context,
gint *priority)
{
+ gint i;
gint n_ready = 0;
gint current_priority = G_MAXINT;
GSource *source;
#endif
/* If recursing, clear list of pending dispatches */
+
+ for (i = 0; i < context->pending_dispatches->len; i++)
+ SOURCE_UNREF ((GSource *)context->pending_dispatches->pdata[i], context);
g_ptr_array_set_size (context->pending_dispatches, 0);
/* Prepare all sources */