*
*
* remove introspectable =0 from g_key_file_get_groups
- *
- *
- *
+ * and add transfer-owneership = none to return value
+ * remove introspectable =0 from g_key_file_get_keys
+ * and add transfer-owneership = none to return value*
*
*/
Gda = imports.gi.Gda;
'bigint' : 'int',
'double' : 'float',
'tinyint' : 'int',
+ 'smallint' : 'int',
'decimal' : 'float',
'float' : 'float',
'char' : 'string',
var groups = key_file.get_groups();
groups.forEach(function(g) {
ini[g] = {}
-
+ print("KEY:"+g);
var keys = key_file.get_keys(g);
- keys.forEach(function(k) {
+ if (!keys) { return; }
+ keys.forEach(function(k) {
ini[g][k] = key_file.get_value(g,k);
})
})