After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 705463 - Add g_settings_is_set()
Add g_settings_is_set()
Status: RESOLVED DUPLICATE of bug 668233
Product: glib
Classification: Platform
Component: gsettings
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Allison Karlitskaya (desrt)
gtkdev
Depends on:
Blocks:
 
 
Reported: 2013-08-04 21:35 UTC by John Stowers
Modified: 2013-10-28 18:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description John Stowers 2013-08-04 21:35:56 UTC
As discussed at GUADEC

This is the minimum as required to show the user they have modified a settings, and is a lot easier to implement than g_settings_get_default
Comment 1 Allison Karlitskaya (desrt) 2013-08-05 06:57:41 UTC
btw: as I mentioned in our in-person conversation, the trouble with _get_default() is that there is no good definition of what is "default" (between admin-set lockdown, defaults, translated versions of the schema, etc).  If you want, you can get a view of some of these things in callback form via g_settings_get_mapped(), although that's not really what this API is meant to be used for.
Comment 2 Allison Karlitskaya (desrt) 2013-10-28 18:28:42 UTC
Better alternative to this just landed as part of bug 668233.

*** This bug has been marked as a duplicate of bug 668233 ***