xfdesktop trash troubles
Brian J. Tarricone
bjt23 at cornell.edu
Wed Aug 23 22:39:37 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 8/23/2006 1:55 AM, Benedikt Meurer wrote:
> Brian J. Tarricone wrote:
>> Hey Benny (or anyone),
>
> Hey Brian,
>
>> /* this does not */
>> ret = dbus_g_proxy_call(dbus_proxy, "DisplayTrash", &error,
>> G_TYPE_STRING, &display_name,
>> G_TYPE_INVALID, G_TYPE_INVALID);
>
> You need to pass the address of the string here, not the address of the
> pointer (unlike its done with message iterators in the core api).
Ahhhh, stupid, I should have looked at the examples in the tutorial closer.
> 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.
-brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
iD8DBQFE7L0J6XyW6VEeAnsRAgOiAKCMuxfHrsJQd1CUzhDWdD+ccMBqKQCgtQOZ
rTPD2LKTz6s3DtfKz1+8kyE=
=FYKV
-----END PGP SIGNATURE-----
More information about the Xfce4-dev
mailing list