[glib/dispatch-data: 2/3] small fix



commit 346b5114d0d418a309c8ec041e2df1f3d224c491
Author: Ryan Lortie <desrt desrt ca>
Date:   Thu Jun 13 11:53:24 2013 -0400

    small fix

 glib/gmain.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/glib/gmain.c b/glib/gmain.c
index 5ad177a..502ba79 100644
--- a/glib/gmain.c
+++ b/glib/gmain.c
@@ -3046,6 +3046,7 @@ g_main_dispatch (GMainContext *context)
            * and not modified from anywhere but this function.
            */
           prev_source = current->source;
+          current->source = source;
           current->depth++;
 
           need_destroy = !(* dispatch) (source, callback, user_data);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]