xfdesktop trash troubles

Brian J. Tarricone bjt23 at cornell.edu
Wed Aug 23 23:00:28 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 8/23/2006 1:46 PM, Benedikt Meurer wrote:
> 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. ;-)

Yeah, looking at it now, actually... Looks a lot neater; I'll do that.

BTW, I just noticed that thunar is depending on dbus as old as 0.34 - is
that OK to depend on for xfdesktop as well?  I haven't had a 0.3x
version installed in a while, so I'm not sure what it has and doesn't
have...

	-brian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFE7MHs6XyW6VEeAnsRAmWwAKCCZo/CR1kqaJDApA1VdSbCjCYwogCg7D1s
njcHQLSPnCQv9eoHbqGHrkA=
=Ygbk
-----END PGP SIGNATURE-----



More information about the Xfce4-dev mailing list