About XfconfChannel Object

Ori Bernstein ori at eigenstate.org
Sat Sep 20 00:14:07 CEST 2008


On Fri, 19 Sep 2008 15:50:40 +0200
Jannis Pohlmann <jannis at xfce.org> wrote:

> There are GObject type macros and typedefs for both structures
> in xfconf-channel.h which should be enough to derive a class from
> XfconfChannel. Just use G_DEFINE_TYPE in combination with
> XFCONF_TYPE_CHANNEL and the struct typedefs.

That's not enough; you need the actual struct (well, size of the struct)
in order to derive from it; That's because you need the 'parent' member
in your object struct.

That said, to the OP: Why do you need to extend it?

-- 
    Ori Bernstein



More information about the Xfce4-dev mailing list