From 564714bc95a11fdb06206e91f46a713b67be30ae Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 20 Apr 2010 23:40:22 -0400 Subject: [PATCH] Fix type mapping for float in gsettings-schema-convert Bug 616331. --- gio/gsettings-schema-convert | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/gsettings-schema-convert b/gio/gsettings-schema-convert index 597f652..b6b27f0 100755 --- 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] -- 2.7.4