summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2018-11-13 10:10:32 +0000
committerPhilip Withnall <philip@tecnocode.co.uk>2018-11-13 10:10:32 +0000
commite8359619d1e7eadf165e1b2e8707366bb6ee2f60 (patch)
tree07a4c7b236dd67e9f567ecc5dab7c54330144984
parentf81a2b3de2f8a0f6b14661465d9c6148a13fb37e (diff)
parentbc320d9fca0de07e62ec8352b7e05b6fe71d0c2e (diff)
downloadglib-e8359619d1e7eadf165e1b2e8707366bb6ee2f60.tar.gz
Merge branch '1261-settings-documentation' into 'master'
gsettings: Add an example of a <default> with an empty string Closes #1261 See merge request GNOME/glib!468
-rw-r--r--gio/gsettings.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gio/gsettings.c b/gio/gsettings.c
index ab7f43835..e36e96f15 100644
--- a/gio/gsettings.c
+++ b/gio/gsettings.c
@@ -159,6 +159,11 @@
* <default>(20,30)</default>
* </key>
*
+ * <key name="empty-string" type="s">
+ * <default>""</default>
+ * <summary>Empty strings have to be provided in GVariant form</summary>
+ * </key>
+ *
* </schema>
* </schemalist>
* ]|