Give dbus-python a hint to icon return type

This commit is contained in:
Dan Williams 2007-03-03 03:12:27 -05:00
parent 08c791849f
commit 6428fdc9a4

View File

@ -141,7 +141,7 @@ class Buddy(DBusGObject):
def GetIcon(self):
if not self.props.icon:
return ""
return self.props.icon
return dbus.ByteArray(self.props.icon)
@dbus.service.method(_BUDDY_INTERFACE,
in_signature="", out_signature="ao")