summaryrefslogtreecommitdiff
path: root/examples/gconf-proxy-service2.py
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2016-01-20 12:39:07 +0000
committerSimon McVittie <smcv@debian.org>2016-01-20 12:39:07 +0000
commitd7677ab1bcabe60e84215eb17b51b644737bfcb0 (patch)
tree6f5d1c2fde097fa98c26c8e007390ec163691721 /examples/gconf-proxy-service2.py
parentea0e8705750e8b4448e5e51c86d07132cf1ac1c8 (diff)
Use gi instead of gobject, everywhere except dbus.gobject_service
Diffstat (limited to 'examples/gconf-proxy-service2.py')
-rwxr-xr-xexamples/gconf-proxy-service2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/gconf-proxy-service2.py b/examples/gconf-proxy-service2.py
index 86567cb..b9c78ef 100755
--- a/examples/gconf-proxy-service2.py
+++ b/examples/gconf-proxy-service2.py
@@ -34,7 +34,7 @@ import dbus
import dbus.mainloop.glib
import dbus.service
-import gobject
+from gi.repository import GLib
import gconf
dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
@@ -68,5 +68,5 @@ gconf_service = GConfObject()
print ("GConf Proxy service started.")
print ("Run 'gconf-proxy-client.py' to fetch a GConf key through the proxy...")
-mainloop = gobject.MainLoop()
+mainloop = GLib.MainLoop()
mainloop.run()