summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xexamples/client/python/text-handler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/client/python/text-handler.py b/examples/client/python/text-handler.py
index 352d81955..f9870a70b 100755
--- a/examples/client/python/text-handler.py
+++ b/examples/client/python/text-handler.py
@@ -50,9 +50,9 @@ def handle_channels_cb(handler, account, connection, channels, requests,
if __name__ == '__main__':
#TelepathyGLib.debug_set_flags("all")
- dbus = TelepathyGLib.DBusDaemon.dup()
+ am = TelepathyGLib.AccountManager.dup()
- handler = TelepathyGLib.SimpleHandler.new(dbus, False, False,
+ handler = TelepathyGLib.SimpleHandler.new_with_am(am, False, False,
'ExampleHandler', False, handle_channels_cb, None)
handler.add_handler_filter({