summaryrefslogtreecommitdiffstats
path: root/test/test-smart-messaging
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-smart-messaging')
-rwxr-xr-xtest/test-smart-messaging4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-smart-messaging b/test/test-smart-messaging
index 6d5d44b1..188ac1ee 100755
--- a/test/test-smart-messaging
+++ b/test/test-smart-messaging
@@ -1,6 +1,6 @@
#!/usr/bin/python
-import gobject
+from gi.repository import GLib
import sys
import dbus
@@ -61,7 +61,7 @@ if __name__ == '__main__':
pn.RegisterAgent(path)
print("Agent registered")
- mainloop = gobject.MainLoop()
+ mainloop = GLib.MainLoop()
try:
mainloop.run()