[libgdata: 22/22] tasks: Output the ‘hidden ’ property in generated JSON
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata: 22/22] tasks: Output the ‘hidden ’ property in generated JSON
- Date: Wed, 17 Sep 2014 23:23:28 +0000 (UTC)
commit b085a95596537409df2510aab72cb033c50ae253
Author: Philip Withnall <philip tecnocode co uk>
Date: Wed Sep 17 23:44:38 2014 +0100
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.
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 f4685a6..29ed38e 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 *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]