[glib: 1/2] gsettings: Add an example of a <default> with an empty string
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] gsettings: Add an example of a <default> with an empty string
- Date: Tue, 13 Nov 2018 10:10:55 +0000 (UTC)
commit bc320d9fca0de07e62ec8352b7e05b6fe71d0c2e
Author: Philip Withnall <withnall endlessm com>
Date: Tue Nov 13 00:30:17 2018 +0000
gsettings: Add an example of a <default> with an empty string
Signed-off-by: Philip Withnall <withnall endlessm com>
https://gitlab.gnome.org/GNOME/glib/issues/1261
gio/gsettings.c | 5 +++++
1 file changed, 5 insertions(+)
---
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>
* ]|
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]