config daemon/library for 4.6

Brian J. Tarricone bjt23 at cornell.edu
Wed Sep 5 23:27:03 CEST 2007


Erik Harrison wrote:

> I hate error handling, it's terrible and it's always ugly, but it
> should at least be possible to add in a printf and see what's going
> on.  I'm a terrible programmer after all.
> 
> If we're going to support diverse backends, then we'll need a way to
> pass those up, since backend developers will need to be able to debug
> their work, and potentially have obscure or complex error conditions.

libxfconf/XfconfChannel is not for backend developers.  I'm not 
designing the client library to cater to a (hopefully) very small set of 
users.  Backend developers can use dbus-send or the dbus-glib bindings 
directly (see xfconf/trunk/xfconf/xfconf-dbus-bindings.h) for their 
debugging work.  If they can only reproduce their problem with libxfconf 
in the mix, a debug build of the library could be set up to printf() any 
errors it receives from the daemon.

	-brian



More information about the Xfce4-dev mailing list