From: Ryan Lortie Date: Mon, 8 Oct 2012 15:18:00 +0000 (-0400) Subject: [gsignal] fix up a crasher in previous commit X-Git-Tag: 2.35.1~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c15769d30411db7e8de766d7004c90d267ebcabc;p=platform%2Fupstream%2Fglib.git [gsignal] fix up a crasher in previous commit The previous commit introduced a new variable in the Handler struct but didn't initialise it. This was causing some tests to crash. https://bugzilla.gnome.org/show_bug.cgi?id=118536 --- diff --git a/gobject/gsignal.c b/gobject/gsignal.c index 0b38a9c..70167af 100644 --- a/gobject/gsignal.c +++ b/gobject/gsignal.c @@ -587,6 +587,7 @@ handler_new (gboolean after) handler->block_count = 0; handler->after = after != FALSE; handler->closure = NULL; + handler->has_invalid_closure_notify = 0; return handler; }