summaryrefslogtreecommitdiffstats
path: root/python/examples/example-signal-emitter.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/examples/example-signal-emitter.py')
-rw-r--r--python/examples/example-signal-emitter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/example-signal-emitter.py b/python/examples/example-signal-emitter.py
index 64c7f177..64474e8f 100644
--- a/python/examples/example-signal-emitter.py
+++ b/python/examples/example-signal-emitter.py
@@ -21,7 +21,7 @@ class TestObject(dbus.service.Object):
return "Signal emitted"
session_bus = dbus.SessionBus()
-name = dbus.service.Name("org.designfu.TestService", bus=session_bus)
+name = dbus.service.BusName("org.designfu.TestService", bus=session_bus)
object = TestObject(name)
gtk.main()