projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afff087
)
Fix type mapping for float in gsettings-schema-convert
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 21 Apr 2010 03:40:22 +0000
(23:40 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 21 Apr 2010 03:40:22 +0000
(23:40 -0400)
Bug 616331.
gio/gsettings-schema-convert
patch
|
blob
|
history
diff --git
a/gio/gsettings-schema-convert
b/gio/gsettings-schema-convert
index
597f652
..
b6b27f0
100755
(executable)
--- a/
gio/gsettings-schema-convert
+++ b/
gio/gsettings-schema-convert
@@
-745,7
+745,7
@@
class XMLSchemaParser:
def map_gconf_type_to_variant_type(gconftype, gconfsubtype):
- typemap = { 'string': 's', 'int': 'i', 'float': '
f
', 'bool': 'b', 'list': 'a' }
+ typemap = { 'string': 's', 'int': 'i', 'float': '
d
', 'bool': 'b', 'list': 'a' }
result = typemap[gconftype]
if gconftype == 'list':
result = result + typemap[gconfsubtype]