[libsocialweb: 7/9] facebook: Change collection attribute names: - "url" for common URL attribute. - "x-facebook-priva
- From: Eitan Isaacson <eitani src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsocialweb: 7/9] facebook: Change collection attribute names: - "url" for common URL attribute. - "x-facebook-priva
- Date: Fri, 18 Feb 2011 18:53:02 +0000 (UTC)
commit ed9ea94828586d175d01dac53aff58fc899ed39d
Author: Eitan Isaacson <eitan isaacson collabora co uk>
Date: Thu Feb 17 17:34:39 2011 -0800
facebook: Change collection attribute names:
- "url" for common URL attribute.
- "x-facebook-privacy" for Facebook specific attribute.
services/facebook/facebook.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/services/facebook/facebook.c b/services/facebook/facebook.c
index 160086f..d2d8418 100644
--- a/services/facebook/facebook.c
+++ b/services/facebook/facebook.c
@@ -820,10 +820,10 @@ _extract_collection_details_from_json (JsonNode *node)
g_value_set_int (value, 0);
attribs = g_hash_table_new (g_str_hash, g_str_equal);
- g_hash_table_insert (attribs, "privacy",
+ g_hash_table_insert (attribs, "x-facebook-privacy",
(gpointer) json_object_get_string_member (obj,
"privacy"));
- g_hash_table_insert (attribs, "link",
+ g_hash_table_insert (attribs, "url",
(gpointer) json_object_get_string_member (obj, "link"));
value_array = g_value_array_append (value_array, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]