summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEitan Isaacson <eitan@monotonous.org>2011-09-05 10:46:26 -0700
committerEitan Isaacson <eitan@monotonous.org>2011-09-05 10:47:02 -0700
commit8dbf0056a6bcfbc1164afbd4e2f5a8483b9f21c0 (patch)
treeac183f600827e3a782d8cbe653d988ef6f366b0e /tools
parent54ee200626ca8661b4fa6b1e25b4be37ac291fbc (diff)
downloadcaribou-8dbf0056a6bcfbc1164afbd4e2f5a8483b9f21c0.tar.gz
Revert "setting_types: avoid using GVariant"
This reverts commit 4ee4055a9a77e7cf0ebba636f569e3181e8d7697. We are now on pygobject-3.0, so this issue went away.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/make_schema.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/make_schema.py b/tools/make_schema.py
index 8a6303e..a6d070f 100755
--- a/tools/make_schema.py
+++ b/tools/make_schema.py
@@ -57,7 +57,8 @@ class SchemasMaker:
key.setAttribute('type', setting.variant_type)
schemalist.appendChild(key)
self._append_children_element_value_pairs(
- doc, key, [('default', setting.default_value),
+ doc, key, [('default',
+ getattr(setting.gvariant, "print")(False)),
('_summary', setting.short_desc),
('_description', setting.long_desc)])