summaryrefslogtreecommitdiffstats
path: root/python/examples/gconf-proxy-service2.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/examples/gconf-proxy-service2.py')
-rw-r--r--python/examples/gconf-proxy-service2.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/examples/gconf-proxy-service2.py b/python/examples/gconf-proxy-service2.py
index ba8d249b..5731ab28 100644
--- a/python/examples/gconf-proxy-service2.py
+++ b/python/examples/gconf-proxy-service2.py
@@ -2,7 +2,7 @@
#FIXME: doesn't work with the new bindings
import dbus
-import gtk
+import gobject
import gconf
class GConfService(dbus.Service):
@@ -35,4 +35,5 @@ gconf_service = GConfService()
print ("GConf Proxy service started.")
print ("Run 'gconf-proxy-client.py' to fetch a GConf key through the proxy...")
-gtk.main()
+mainloop = gobject.MainLoop()
+mainloop.run()