summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-06-22 22:58:30 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-06-22 22:58:30 +0000
commit164736b5d2ee4c97d2495c5623fefec6770089a3 (patch)
tree6bf8362d880d75ef25248ac275fb052b13752a43 /daemon
parent6d738f7aebecbbfb9412c4f190c63e06080d1799 (diff)
The interface is already part of the object itself
Diffstat (limited to 'daemon')
-rwxr-xr-xdaemon/test-manager6
1 files changed, 2 insertions, 4 deletions
diff --git a/daemon/test-manager b/daemon/test-manager
index 7db46a1b..759b6a48 100755
--- a/daemon/test-manager
+++ b/daemon/test-manager
@@ -19,11 +19,9 @@ if __name__ == "__main__":
manager = dbus.Interface(bus.get_object('org.bluez', '/org/bluez'),
'org.bluez.Manager')
- manager.connect_to_signal("AdapterAdded", adapter_added,
- dbus_interface="org.bluez.Manager")
+ manager.connect_to_signal("AdapterAdded", adapter_added)
- manager.connect_to_signal("AdapterRemoved", adapter_removed,
- dbus_interface="org.bluez.Manager")
+ manager.connect_to_signal("AdapterRemoved", adapter_removed)
mainloop = gobject.MainLoop()
mainloop.run()