Add GRealClosure and move meta_marshallers there
authorAlexander Larsson <alexl@redhat.com>
Wed, 22 Feb 2012 16:46:21 +0000 (17:46 +0100)
committerAlexander Larsson <alexl@redhat.com>
Fri, 2 Mar 2012 16:13:03 +0000 (17:13 +0100)
commitd5fbbe400aef8c802968a1398fc8e9546173b748
treeb18ddbb523f0e2890173c4d7b8fbf10d2dea0e08
parent950e6a4a207180862061618de5a3b77f92d71c0a
Add GRealClosure and move meta_marshallers there

This means we're not abusing the notifiers for meta_marshallres,
and we're able to later cleanly add other fields to GClosure.

We still have to leave the ABI intact for the GClosure->meta_marshal
bit, as old G_CLOSURE_N_NOTIFIERS macro instances still accesses it.
However, we always set it to zero to keep those macros working.

https://bugzilla.gnome.org/show_bug.cgi?id=661140
gobject/gclosure.c
gobject/gclosure.h
gobject/gsignal.c
gobject/gtype-private.h