Declaring return type of gajim dbus method list_contacts with dbus glib

Øystein Gisnås oystein at gisnas.net
Sun Aug 26 11:32:43 PDT 2007


The signature of list_contacts in remote_control.py has changed return
value from undefined to 'av', via 'a{ss}'. The return array has been
changed from undefined to 'a{sv}', via 's'. See
http://trac.gajim.org/changeset/7877 and
http://trac.gajim.org/changeset/7811

Nautilus-sendto tries to call the method using glib binding. It worked
with previous gaim versions, but not now. The return type is specified
as
dbus_g_type_get_collection ("GSList", dbus_g_type_get_map
("GHashTable", G_TYPE_STRING, G_TYPE_VALUE))

The error message being returned is "Expected D-BUS array, got type code 'v'"

Is the return type in nautilus-sendto wrong, or doesn't the DBus GLib
binding work like it should here?

This bug is reported against nautilus-sendto at
http://bugzilla.gnome.org/show_bug.cgi?id=443484 and
https://bugs.launchpad.net/ubuntu/+source/nautilus-sendto/+bug/118475

Cheers,
Øystein Gisnås
Debian Maintainer


More information about the dbus mailing list