diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2007-09-26 16:01:41 +0000 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2007-09-26 16:01:41 +0000 |
commit | 10f94079713db58f7caa97b6a7640288ffc34c0c (patch) | |
tree | b57ce3aff26c47e045d13dd23db54967b3c2e7b5 | |
parent | 6b3dd65e08ffbf2d9a7ea2168ebf87306ba1877e (diff) |
use dbus.service.Object instead of ExportedGObject
-rw-r--r-- | examples/tube-dbus-muc.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/tube-dbus-muc.py b/examples/tube-dbus-muc.py index 887cfa8..22d33e9 100644 --- a/examples/tube-dbus-muc.py +++ b/examples/tube-dbus-muc.py @@ -5,8 +5,7 @@ import sys import time import random import pprint -from dbus.gobject_service import ExportedGObject -from dbus.service import method, signal +from dbus.service import method, signal, Object from dbus import Interface from telepathy.client import ( @@ -201,7 +200,7 @@ class JoinerClient(Client): print "call remote Say" self.test.tube.get_object(sender, PATH).Say(text, dbus_interface=IFACE) -class Test(ExportedGObject): +class Test(Object): def __init__(self, tube, conn): super(Test, self).__init__(tube, PATH) self.tube = tube |