[libgdata] [atom] Remove the link rel hack used to work around cgo#2129
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata] [atom] Remove the link rel hack used to work around cgo#2129
- Date: Fri, 16 Jul 2010 08:13:42 +0000 (UTC)
commit a76664d3fcecc53224b731257eca433b6791abf2
Author: Philip Withnall <philip tecnocode co uk>
Date: Fri Jul 16 09:11:24 2010 +0100
[atom] Remove the link rel hack used to work around cgo#2129
gdata/atom/gdata-link.c | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/gdata/atom/gdata-link.c b/gdata/atom/gdata-link.c
index 3eddd86..581ffe8 100644
--- a/gdata/atom/gdata-link.c
+++ b/gdata/atom/gdata-link.c
@@ -344,14 +344,8 @@ pre_get_xml (GDataParsable *parsable, GString *xml_string)
if (priv->title != NULL)
gdata_parser_string_append_escaped (xml_string, " title='", priv->title, "'");
- if (priv->relation_type != NULL) {
- /* TODO: This hack is necessary to get batch operations working.
- * See: http://code.google.com/p/gdata-issues/issues/detail?id=2129 */
- if (strcmp (priv->relation_type, GDATA_LINK_EDIT) == 0)
- g_string_append_printf (xml_string, " rel='%s'", "edit");
- else
- g_string_append_printf (xml_string, " rel='%s'", priv->relation_type);
- }
+ if (priv->relation_type != NULL)
+ g_string_append_printf (xml_string, " rel='%s'", priv->relation_type);
if (priv->content_type != NULL)
g_string_append_printf (xml_string, " type='%s'", priv->content_type);
if (priv->language != NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]