G_DECLARE_*_TYPE: add auto cleanup support
authorRyan Lortie <desrt@desrt.ca>
Wed, 28 Jan 2015 11:47:05 +0000 (11:47 +0000)
committerRyan Lortie <desrt@desrt.ca>
Fri, 30 Jan 2015 15:52:36 +0000 (16:52 +0100)
commit8ea414c8c6c40e208ebe4a9fdd41c7abdb05c392
tree2d8d518cadc2527388f919006683df9c3d088135
parent3d5de34def8b3120190ffb2561b5093abb6a3abb
G_DECLARE_*_TYPE: add auto cleanup support

Automatically add support for the new cleanup macros to the type
declaration macros.

This is an API break because now your parent class needs to support
cleanup if you want to use G_DECLARE_*_TYPE.  These macros are only 1
day old, however, so that's probably not a big problem (and we are
already busy adding the macros all over GLib and Gtk+).

https://bugzilla.gnome.org/show_bug.cgi?id=743640
gobject/gtype.h