GAsyncInitable: fix subclassibility
authorDan Winship <danw@gnome.org>
Thu, 5 Jan 2012 18:04:37 +0000 (13:04 -0500)
committerDan Winship <danw@gnome.org>
Mon, 16 Jan 2012 14:42:50 +0000 (09:42 -0500)
commitafe7a2d1368fc8dff0735757c096ded3d540ae42
tree6e872138580602273eecb5e61ce0cdfe66fc5a83
parentfeb120eb40570e803e043e1a87213166ad307c30
GAsyncInitable: fix subclassibility

If a class implements GAsyncInitable, and its parent also implements
it, then the subclass needs to call its parent's init_async() before
running its own. This was made more complicated by the fact that the
default init_finish() behavior was handled by the wrapper method
(which can't be used when making the super call) rather than the
default implementation itself. Fix that.

https://bugzilla.gnome.org/show_bug.cgi?id=667375
gio/gasyncinitable.c