diff options
Diffstat (limited to 'examples/client/python/text-handler.py')
-rwxr-xr-x | examples/client/python/text-handler.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/client/python/text-handler.py b/examples/client/python/text-handler.py index f9870a70b..7a1d6e87b 100755 --- a/examples/client/python/text-handler.py +++ b/examples/client/python/text-handler.py @@ -1,8 +1,11 @@ #!/usr/bin/env python +import gi + from gi.repository import GObject GObject.threads_init() +gi.require_version('TelepathyGLib', '0.12') from gi.repository import TelepathyGLib def echo_message(channel, msg, pending): |