diff options
Diffstat (limited to 'python/examples/gconf-proxy-service.py')
-rw-r--r-- | python/examples/gconf-proxy-service.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python/examples/gconf-proxy-service.py b/python/examples/gconf-proxy-service.py index b9bdef14..a899cf21 100644 --- a/python/examples/gconf-proxy-service.py +++ b/python/examples/gconf-proxy-service.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): @@ -39,4 +39,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() |