summaryrefslogtreecommitdiff
path: root/examples/client/python/ensure-channel.py
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2013-11-12 12:44:35 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2014-01-07 14:59:46 +0000
commite1d4f5439e851a8ac4585e021778c13cb1d122ed (patch)
tree69def87d431b46d793424186606296a2bba673a3 /examples/client/python/ensure-channel.py
parent91c7de4f553c17118bb2d731f085ea18f05f3e84 (diff)
examples: explicitly ask for TelepathyGLib-0.12
TelepathyGLib-1 isn't going to be fully compatible. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49737 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Diffstat (limited to 'examples/client/python/ensure-channel.py')
-rwxr-xr-xexamples/client/python/ensure-channel.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/client/python/ensure-channel.py b/examples/client/python/ensure-channel.py
index 344b7dbd5..9e46239ff 100755
--- a/examples/client/python/ensure-channel.py
+++ b/examples/client/python/ensure-channel.py
@@ -1,9 +1,12 @@
#!/usr/bin/env python
import sys
+import gi
+
from gi.repository import GObject
GObject.threads_init()
+gi.require_version('TelepathyGLib', '0.12')
from gi.repository import TelepathyGLib
def usage():