[libgdata/wip/rishi/drive: 5/7] core: Parse description from JSON
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata/wip/rishi/drive: 5/7] core: Parse description from JSON
- Date: Thu, 16 Apr 2015 14:54:01 +0000 (UTC)
commit f3487476d5088b090f5e8a71547cc524df1ccaef
Author: Debarshi Ray <debarshir gnome org>
Date: Thu Apr 2 18:05:37 2015 +0200
core: Parse description from JSON
https://bugzilla.gnome.org/show_bug.cgi?id=684920
gdata/gdata-entry.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdata/gdata-entry.c b/gdata/gdata-entry.c
index 30af836..56b335b 100644
--- a/gdata/gdata-entry.c
+++ b/gdata/gdata-entry.c
@@ -598,6 +598,7 @@ parse_json (GDataParsable *parsable, JsonReader *reader, gpointer user_data, GEr
if (gdata_parser_string_from_json_member (reader, "title", P_DEFAULT | P_NO_DUPES, &(priv->title),
&success, error) == TRUE ||
gdata_parser_string_from_json_member (reader, "id", P_NON_EMPTY | P_NO_DUPES, &(priv->id),
&success, error) == TRUE ||
+ gdata_parser_string_from_json_member (reader, "description", P_NONE, &(priv->summary), &success,
error) == TRUE ||
gdata_parser_int64_time_from_json_member (reader, "updated", P_REQUIRED | P_NO_DUPES,
&(priv->updated), &success, error) == TRUE ||
gdata_parser_string_from_json_member (reader, "etag", P_NON_EMPTY | P_NO_DUPES, &(priv->etag),
&success, error) == TRUE) {
return success;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]