config daemon/library for 4.6

Erik Harrison erikharrison at gmail.com
Thu Sep 6 00:19:52 CEST 2007


On 9/5/07, Brian J. Tarricone <bjt23 at cornell.edu> wrote:
> 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.

Alright. You've convinced me.

>
>         -brian
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce4-dev
>


-- 
Erik
"If you want to go somewhere, goto is the best way to get there." - Ken Thompson



More information about the Xfce4-dev mailing list