[glib] gsignal: really fix closure invalidation



commit a36028f386708bb10d7c3817b5da5201777dc16c
Author: Ryan Lortie <desrt desrt ca>
Date:   Sat Oct 13 12:16:32 2012 -0400

    gsignal: really fix closure invalidation
    
    Commit 66b0d95f0ba1939882368b47b01f93289c42ae07 missed this part of the
    patch.

 gobject/gsignal.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gobject/gsignal.c b/gobject/gsignal.c
index 70167af..de95fcb 100644
--- a/gobject/gsignal.c
+++ b/gobject/gsignal.c
@@ -3737,6 +3737,7 @@ invalid_closure_notify (gpointer  instance,
 
   handler = handler_lookup (instance, 0, closure, &signal_id);
   /* GClosure removes our notifier when we're done */
+  handler->has_invalid_closure_notify = 0;
   handler_unref_R (signal_id, instance, handler);
 
   SIGNAL_UNLOCK ();



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