Bug 622124 - implement flags for GSettings

Add a <flags> tag to the schema file format and a flags='' attribute to
go along with.  Add some extra test cases for those.

Add new g_settings_{get,set}_flags() calls and support binding to
GParamSpecFlags properties.  Add test cases.
This commit is contained in:
Ryan Lortie
2010-07-01 18:58:56 -04:00
parent 69fe50c116
commit 5383c7110f
19 changed files with 594 additions and 52 deletions

View File

@@ -2168,6 +2168,8 @@ g_settings_get_strv
g_settings_set_strv
g_settings_get_enum
g_settings_set_enum
g_settings_get_flags
g_settings_set_flags
<SUBSECTION MappedGet>
GSettingsGetMapping