GObject signals
Stu Tomlinson
stu at nosnilmot.com
Thu Jun 26 10:09:13 EDT 2008
On Wed, 2008-06-25 at 23:38 -0500, Gary Kramlich wrote:
> Sadrul Habib Chowdhury wrote:
> Ok, but that means if it's accepted we then need a wrapper or a define
> around it. IE:
>
> #if GLIB_CHECK_VERSION(2,18,0)
> # define purple_signal_connect_type g_signal_connect_type
> #endif
>
> If you left it as g_signal_connect_type with a #if
> !GLIB_CHECK_VERSION(2,18,0), it'd just work, and no code would need to
> get touched later.
Except we'd be screwed if glib accepted a modified version of the patch
with a different function signature. Not that I think that is likely,
but it needs to be considered.
Regards,
Stu.
More information about the Devel
mailing list