GNOME Bugzilla – Bug 668757
wrong method description in introspect-collection.xml
Last modified: 2012-01-27 13:49:23 UTC
Ubuntu with Gnome-keyring 2.92.92.is.2.31.91-0ubuntu4 and libgnome-keyring0 2.31.92-0ubuntu1 Introspection on the Collection path gives: $ dbus-send --session --type=method_call --print-reply --dest=org.freedesktop.secrets /org/freedesktop/secrets/collection/login org.freedesktop.DBus.Introspectable.Introspect ... <interface name="org.freedesktop.Secrets.Collection"> <method name="SearchItems"> <arg name="attributes" type="a{ss}" direction="in"/> <arg name="results" type="ao" direction="out"/> </method> ... When I use this interface, my call fails with a "wrong return type" error. I fixed this with the following XML for Collection: <interface name="org.freedesktop.Secrets.Collection"> <method name="SearchItems"> <arg name="attributes" type="a{ss}" direction="in"/> <arg name="unlocked" type="ao" direction="out"/> <arg name="locked" type="ao" direction="out"/> </method> the same as the "org.freedesktop.Secrets.Service" interface. Patch is attached Best regards
Created attachment 206245 [details] [review] patch introspect-collection.xml
Thanks. The patch didn't apply to git master, but I fixed the appropriate spot.