mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-02 17:26:17 +01:00
Fix type mapping for float in gsettings-schema-convert
Bug 616331.
This commit is contained in:
parent
afff087785
commit
564714bc95
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user