xfdesktop trash troubles

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Wed Aug 23 22:46:44 CEST 2006


Brian J. Tarricone wrote:
>>>>    /* this does not */
>>>>    ret = dbus_g_proxy_call(dbus_proxy, "DisplayTrash", &error,
>>>>                            G_TYPE_STRING, &display_name,
>>>>                            G_TYPE_INVALID, G_TYPE_INVALID);
> 
>>>Why not simply use dbus-bindings-tool (like thunar-tpa does) to generate
>>>wrappers for the D-Bus methods so you are not concerned with such details?
> 
> Cuz I didn't know that's what it was for, or how to use it.  I dunno,
> doing it manually looks like it's only a couple lines of code...  I'll
> look into it later.

Well, it's probably the same number of lines, but using the wrappers
you'll discover typos more easily and its easier to read in the end. ;-)

> 	-brian

Benedikt



More information about the Xfce4-dev mailing list