Re: GType stuff again!



On Tue, 2006-09-19 at 21:32 +0200, Johannes Schmid wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi!
> 
> I solved the loading now by writing my own glue code but I ran into
> another problem now.
> 
> When I construct my class it has the type
> gtkmm_AnjutaPlugin
> which is correct. Anyway, if this GObject is passed back to the C code
> the type now is GObject which is or course wrong.

That doesn't make any sense. What does "pass" mean here? The same
GObject can not change its GType.

>  Of course I call
> Anjuta::init() from the C code before to register the new types but this
> does not seem to help.
> 
> Without having the correct type I won't be able to call any virtual
> functions or to connect to signals.


-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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