Re: catching messages



On Wed, Jan 11, 2006 at 10:41:45AM +0100, Diego Zuccato wrote:
> 
> >  Also, you don't need to use
> > G_OBJECT(combo) since the combo is a GObject, you can just use "combo".
> Conceptually, yes. But the C compiler complains about wrong argument
> types if I don't cast to base type.

The first argument of g_signal_connect (or more precisely
of g_signal_connect_data it expands to) is gpointer, not
GObject*.

Yeti


--
That's enough.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]