summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2011-08-04 10:23:16 -0400
committerDan Winship <danw@gnome.org>2011-08-04 10:26:26 -0400
commit4ee4055a9a77e7cf0ebba636f569e3181e8d7697 (patch)
treedcbaf99f07bb8d0139b6921347272ff227dc9d07 /tools
parent0f31da32fd2556bf73cdc2d1408e6fc7fdcda29f (diff)
downloadcaribou-4ee4055a9a77e7cf0ebba636f569e3181e8d7697.tar.gz
setting_types: avoid using GVariant
pygobject 2.28's GLib.Variant doesn't work with glib master (bug 654859), and pygobject 3.x is not yet ready for general use. So just avoid using variants for now. https://bugzilla.gnome.org/show_bug.cgi?id=655976
Diffstat (limited to 'tools')
-rwxr-xr-xtools/make_schema.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/make_schema.py b/tools/make_schema.py
index a6d070f..8a6303e 100755
--- a/tools/make_schema.py
+++ b/tools/make_schema.py
@@ -57,8 +57,7 @@ class SchemasMaker:
key.setAttribute('type', setting.variant_type)
schemalist.appendChild(key)
self._append_children_element_value_pairs(
- doc, key, [('default',
- getattr(setting.gvariant, "print")(False)),
+ doc, key, [('default', setting.default_value),
('_summary', setting.short_desc),
('_description', setting.long_desc)])