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/monitor-ofono | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/monitor-ofono') diff --git a/test/monitor-ofono b/test/monitor-ofono index f69ae79a..bd316171 100755 --- a/test/monitor-ofono +++ b/test/monitor-ofono @@ -1,6 +1,6 @@ #!/usr/bin/python -import gobject +from gi.repository import GLib import dbus import dbus.mainloop.glib @@ -150,5 +150,5 @@ if __name__ == '__main__': path_keyword="path", interface_keyword="interface") - mainloop = gobject.MainLoop() + mainloop = GLib.MainLoop() mainloop.run() -- cgit v1.2.3