Fix retrieval of owner's object path

This commit is contained in:
Dan Williams 2007-05-07 14:18:20 -04:00
parent 888e44e151
commit d598097994

View File

@ -306,7 +306,7 @@ class PresenceService(DBusGObject):
if not self._owner:
raise NotFoundError("The owner was not found.")
else:
return self._owner.get_object_path()
return self._owner.object_path()
@dbus.service.method(_PRESENCE_INTERFACE, in_signature="sssa{sv}",
out_signature="o", async_callbacks=('async_cb', 'async_err_cb'))