gsignal: really fix closure invalidation
authorRyan Lortie <desrt@desrt.ca>
Sat, 13 Oct 2012 16:16:32 +0000 (12:16 -0400)
committerRyan Lortie <desrt@desrt.ca>
Sat, 13 Oct 2012 16:16:32 +0000 (12:16 -0400)
Commit 66b0d95f0ba1939882368b47b01f93289c42ae07 missed this part of the
patch.

gobject/gsignal.c

index 70167af..de95fcb 100644 (file)
@@ -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 ();