gsignal: really fix closure invalidation

Commit 66b0d95f0ba1939882368b47b01f93289c42ae07 missed this part of the
patch.
This commit is contained in:
Ryan Lortie 2012-10-13 12:16:32 -04:00
parent a1e6ecdfeb
commit a36028f386

View File

@ -3737,6 +3737,7 @@ invalid_closure_notify (gpointer instance,
handler = handler_lookup (instance, 0, closure, &signal_id); handler = handler_lookup (instance, 0, closure, &signal_id);
/* GClosure removes our notifier when we're done */ /* GClosure removes our notifier when we're done */
handler->has_invalid_closure_notify = 0;
handler_unref_R (signal_id, instance, handler); handler_unref_R (signal_id, instance, handler);
SIGNAL_UNLOCK (); SIGNAL_UNLOCK ();