Re: GType stuff again!



[snip]

> Maybe I just do
> something wrong in wrapping AnjutaPlugin:
>
> http://anjuta.cvs.sourceforge.net/anjuta/libanjutamm-new/libanjuta/src/plugin.hg?view=markup

It looks mostly OK, but, because it is a GObject and not a GtkObject, it
should only be used via a RefPtr. Therefore it should have a protected
constructor and a public create() method. You can use _WRAP_CREATE() to
generate the create() method.

Also, is_active() should be const.

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]