From ad4f90684fac01be21789df40882fb9869c3cd41 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Tue, 11 Mar 2014 17:39:21 +0100 Subject: test: Move from static gobject bindings to GI Use GLib gobject-introspection bindings so that we can also use the scripts with Python 3. --- test/disable-call-forwarding | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/disable-call-forwarding') diff --git a/test/disable-call-forwarding b/test/disable-call-forwarding index 1e6ec208..36098162 100755 --- a/test/disable-call-forwarding +++ b/test/disable-call-forwarding @@ -1,7 +1,7 @@ #!/usr/bin/python import sys -import gobject +from gi.repository import GLib import dbus import dbus.mainloop.glib @@ -49,5 +49,5 @@ if __name__ == "__main__": canexit = True - mainloop = gobject.MainLoop() + mainloop = GLib.MainLoop() mainloop.run() -- cgit v1.2.3