Re: Detecting GSettings/dconf and GConf at Runtime

We want to be able to support distributions that use gconf and not dconf. For instance, distributions that use the GNOME 2 desktop, but have GTK+3 libraries available.

On Tue, Jul 9, 2013 at 4:17 PM, Jasper St. Pierre <jstpierre mecheye net> wrote:
Why do you want to support both GSettings and GConf?

On Tue, Jul 9, 2013 at 4:15 PM, Philip Wernersbach <philip wernersbach gmail com> wrote:

I have a GTK+ app that has options for using GSettings and GConf. The settings backend that is used must be set at compile time. I'd like to make this a runtime decision, e.g. the app automatically tries the GSettings backend, and if that doesn't work it will use the GConf backend. How can I do this? I browsed the API documentation, and I didn't find any API's for querying whether the system supports GSettings and GConf. It seems like GLib just assumes that the functionality is there, whether it is actually present on the system or not.

Philip Wernersbach

gtk-list mailing list
gtk-list gnome org


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]