Invalidate single_va_closure when adding an emission hook
authorMike Gorse <mgorse@novell.com>
Tue, 13 Mar 2012 21:02:30 +0000 (16:02 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 14 Mar 2012 10:01:36 +0000 (06:01 -0400)
commit53b1afba0eb94f7f836b408d81da7b58c374dc3f
treed21366b9f2100cf4fe318a16d77f585b39327b9c
parentfbbdf98668641a6e6494dacb5f5f13703145e6f8
Invalidate single_va_closure when adding an emission hook

If the optimization is used for only having one closure handling a
signal emission, then hooks will not be run, so it should be disabled
when an emission hook is added.

https://bugzilla.gnome.org/show_bug.cgi?id=671918
gobject/gsignal.c