GSettings: add getters for user/default value

Desktop / GNOME / GLib - Ryan Lortie [desrt.ca] - 28 October 2013 12:19 UTC

Add two new APIs: g_settings_get_user_value() and g_settings_get_default_value(). Together, these should allow the inspection of all interesting cases of "is this key set?" and "what would happen if I reset this key?"

https://bugzilla.gnome.org/show_bug.cgi?id=668233

bebdfb8 GSettings: add getters for user/default value
docs/reference/gio/gio-sections.txt | 2 +
gio/gsettings.c | 100 +++++++++++++++++++++++++++++++++++
gio/gsettings.h | 7 +++
3 files changed, 109 insertions(+)

Upstream: git.gnome.org


  • Share