GObject signals
Sadrul Habib Chowdhury
imadil at gmail.com
Thu Jun 26 00:05:54 EDT 2008
* Gary Kramlich had this to say on [25 Jun 2008, 19:33:12 -0500]:
> Sadrul Habib Chowdhury wrote:
>
> <snip>
>
> > To keep things plain and simple, we can have g_signal_connect_type,
> > which will have a very similar signature as g_signal_connect, the only
> > difference being the first parameter, which will be a GType, instead of
> > a GObject *. To elaborate:
>
> <snip>
>
> I wouldn't advise using the g_* namespace, unless you're planning on
> pushing that as a patch up to glib. and if so, add a glib version check
> around it when it gets accepted.
>
I renamespaced the function to purple_type_connect, and submitted a
patch in GNOME bugzilla (#540256). (we can rename to g_* if/once the
patch is accepted)
Sadrul
More information about the Devel
mailing list