Cleaning up libxfcegui4...

Jasper Huijsmans jasper at xfce.org
Wed May 3 23:15:37 CEST 2006


Olivier Fourdan schreef:
> Benedikt Meurer wrote:
>> libxfcegui4 was extended with more and more stuff since the pre-4.0
>> days, and now contains probably more deprecated functionality than
>> useful functionality. Also, half of the library is not useful to many
>> applications (the netk stuff), while some applications like xfwm4 need
>> only the netk stuff and not the rest (well, the event filter stuff, but
>> that in turn is only used by xfwm4 so it should be moved to xfwm4).
> 
...
> 
>> c) let libxfcegui4 depend on libnetk and libxfce4ui.
> 
> Humm sounds good. The only drawback I may see is that we add more libs 
> to load at startup and introduce more inter dependency between libs, 
> which tend to lead to "dependency hell" for the users/maintainers.

Well, ideally, the core Xfce components wouldn't depend on the 
libxfegui4 wrapper with deprecated function at all, isn't it?

> 
>> This way the cleanup is backward compatible and all apps that require
>> libxfcegui4 will continue to work properly.
>>
>> Next steps would be to copy app-specific stuff from libxfcegui4 to the
>> applications (i.e. the event filter stuff to xfwm4, the app menu stuff
>> to xfdesktop4, move handlers to xfce4-panel, etc.).
> 
> [...]
> 
>> Opinions?
> 
> I mostly agree :)
> 

So do I.

	Jasper



More information about the Xfce4-dev mailing list