New panel framework

Jasper Huijsmans jasper at
Sat Sep 3 16:26:02 CEST 2005

Benedikt Meurer schreef:
> Jasper,
> I haven't found the time to actuall try out the new panel. Just reading
> through the documentation a bit. I stumbled over the
> xfce_panel_plugin_set_data() and xfce_panel_plugin_get_data() functions
> and was wondering why you added them? Wouldn't it be easier to use
> GObject's dataset here? 

Actually, it does use this internally. I wanted to add the function as a 
convenience for plugin writers, to make it obvious this is the 
replacement for the data pointer in the 4.2 interface.


> Just add a prerequisite on GObject for the
> interface using g_type_interface_add_prerequisite(). It's very unlikely
> that somebody will ever implement that interface in a non-GObject
> derived type.

... I didn't think of adding a prerequisite. Thanks, I've just added it.


More information about the Xfce4-dev mailing list