will at willthompson.co.uk
Wed Jun 25 20:26:50 EDT 2008
On 26/06/08 01:11, Sadrul Habib Chowdhury wrote:
> 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 *.
> I tested the attached patch, which seems to work OK. Anyone has any
Sounds like a good idea to me, and the patch looks correct. I'm kind of
surprised that something like this isn't already in glib given that
g_signal_add_emission_hook() exists and it's a relatively obvious thing
to want to do with it; maybe you chould submit it to glib?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: OpenPGP digital signature
More information about the Devel