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 631263 - GSettings needs range/choice APIs
GSettings needs range/choice APIs
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gsettings
unspecified
Other All
: Normal normal
: ---
Assigned To: Allison Karlitskaya (desrt)
gtkdev
Depends on:
Blocks: 631264
 
 
Reported: 2010-10-03 21:47 UTC by Allison Karlitskaya (desrt)
Modified: 2010-10-04 06:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Allison Karlitskaya (desrt) 2010-10-03 21:47:27 UTC
For similar reasons to why we have schema/key listing APIs (editor apps, commandline tools, etc.).
Comment 1 Allison Karlitskaya (desrt) 2010-10-04 06:59:34 UTC
commit d6d76783ae9fc473d7fe38683d729d6c2c8e80c4
Author: Ryan Lortie <desrt@desrt.ca>
Date:   Mon Oct 4 02:58:46 2010 -0400

    Bug 631263 - GSettings needs range/choice APIs
    
    Add g_settings_get_range() to describe the possible values that may be
    provided to g_settings_set_value() without causing an error.
    
    Add a test case.