[glib] Fix a careless mistake in the last commit



commit 713614608d38ba5e16ffd54796ed60ac5dc2e004
Author: Ryan Lortie <desrt desrt ca>
Date:   Mon Sep 30 13:06:30 2013 -0400

    Fix a careless mistake in the last commit
    
    Thanks Colin :)

 glib/gmain.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/glib/gmain.c b/glib/gmain.c
index 9f044fb..99de6a8 100644
--- a/glib/gmain.c
+++ b/glib/gmain.c
@@ -3053,6 +3053,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]