mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-08 17:08:45 +02:00
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:
@@ -99,9 +99,18 @@
|
||||
<alias value='qux' target='quux'/>
|
||||
</aliases>
|
||||
</key>
|
||||
<key name='f-test' flags='org.gtk.test.TestFlags'>
|
||||
<default>[]</default>
|
||||
<aliases>
|
||||
<alias value='speaking' target='talking'/>
|
||||
</aliases>
|
||||
</key>
|
||||
</schema>
|
||||
|
||||
<schema id='org.gtk.test.enums.direct' path='/tests/enums/'>
|
||||
<key name='f-test' type='as'>
|
||||
<default>[]</default>
|
||||
</key>
|
||||
<key name='test' type='s'>
|
||||
<default>'bar'</default>
|
||||
</key>
|
||||
|
Reference in New Issue
Block a user