Commit b085a955 authored by Philip Withnall's avatar Philip Withnall

tasks: Output the ‘hidden’ property in generated JSON

It’s read-only, but that hasn’t stopped us outputting all the other
read-only properties. This can be reverted if real life testing proves
it’s a problem.
parent c1fdff59
......@@ -372,6 +372,9 @@ get_json (GDataParsable *parsable, JsonBuilder *builder)
json_builder_set_member_name (builder, "deleted");
json_builder_add_boolean_value (builder, priv->deleted);
json_builder_set_member_name (builder, "hidden");
json_builder_add_boolean_value (builder, priv->hidden);
}
static const gchar *
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment