diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2014-09-17 23:44:38 +0100 |
---|---|---|
committer | Philip Withnall <philip@tecnocode.co.uk> | 2014-09-18 00:22:05 +0100 |
commit | b085a95596537409df2510aab72cb033c50ae253 (patch) | |
tree | db6a8ea93897560819f84def7066fc5f85e3b0a2 | |
parent | c1fdff59c73dfa0f1883d8f108d4923b6becf246 (diff) | |
download | libgdata-b085a95596537409df2510aab72cb033c50ae253.tar.gz |
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.
-rw-r--r-- | gdata/services/tasks/gdata-tasks-task.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdata/services/tasks/gdata-tasks-task.c b/gdata/services/tasks/gdata-tasks-task.c index f4685a61..29ed38ed 100644 --- a/gdata/services/tasks/gdata-tasks-task.c +++ b/gdata/services/tasks/gdata-tasks-task.c @@ -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 * |