src/Lsp.vala
authorAlan Knowles <alan@roojs.com>
Thu, 18 Jan 2024 15:26:26 +0000 (23:26 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 18 Jan 2024 15:26:26 +0000 (23:26 +0800)
src/Lsp.vala

index 9038e0c..0558c4c 100644 (file)
@@ -960,9 +960,10 @@ namespace Lsp {
             return node;
         }
 
-        public bool deserialize_property (string property_name, out GLib.Value value, GLib.ParamSpec pspec, Json.Node property_node) {
+        public bool deserialize_property (string property_name, out GLib.Value value, GLib.ParamSpec pspec, Json.Node property_node) 
+        {
             if (property_name == "arguments") {
-                value = Value (typeof (Array));
+                GLib.Value (GLib.Type.BOXED);
                 if (property_node.get_node_type () != Json.NodeType.ARRAY) {
                     warning ("unexpected property node type for 'arguments' %s", property_node.get_node_type ().to_string ());
                     return false;