Bug 631263 - GSettings needs range/choice APIs
authorRyan Lortie <desrt@desrt.ca>
Mon, 4 Oct 2010 06:58:46 +0000 (02:58 -0400)
committerRyan Lortie <desrt@desrt.ca>
Mon, 4 Oct 2010 06:58:46 +0000 (02:58 -0400)
commitd6d76783ae9fc473d7fe38683d729d6c2c8e80c4
tree334801e5d317e95ad799fb0d5efad581b7a0cf3e
parent833e389516b5e5b2271ed84c7b2036801c3100f1
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.
gio/gsettings.c
gio/gsettings.h
gio/strinfo.c
gio/tests/gsettings.c