WIP
All checks were successful
PostmarketOS Build / Prepare (push) Successful in 7s
PostmarketOS Build / Build for aarch64 (push) Successful in 40s
PostmarketOS Build / Build for x86_64 (push) Successful in 12s

Signed-off-by: Vasiliy Doylov <nekocwd@mainlining.org>
This commit is contained in:
Vasiliy Doylov 2025-06-22 02:02:13 +03:00
parent 0ca6e4080e
commit a023832fea
Signed by: NekoCWD
GPG key ID: B7BE22D44474A582
2 changed files with 5 additions and 3 deletions

View file

@ -29,7 +29,9 @@ class Singularity.SingConfig : Object, Json.Serializable {
new_arr.add_element (Utils.fix_dash (Utils.fix_type (node)));
});
node.set_array (new_arr);
return node;
var new_node = new Json.Node (Json.NodeType.ARRAY);
new_node.set_array (new_arr);
return new_node;
}
return default_serialize_property (property_name, value, pspec);;
}

View file

@ -36,7 +36,7 @@ namespace Singularity.Utils {
obj.remove_member(name);
}
}
return node;
return node.copy();
}
/*
@ -59,7 +59,7 @@ namespace Singularity.Utils {
} else {
warning("Object has no type to fix it");
}
return node;
return node.copy();
}
/*