[libgdata] tests: GDATA_LINK_PARENT links don't have a title in Drive v2
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata] tests: GDATA_LINK_PARENT links don't have a title in Drive v2
- Date: Mon, 26 Sep 2016 18:16:12 +0000 (UTC)
commit 82f1c4e60bf462f89a33b1efe3d3e74ba024e85a
Author: Debarshi Ray <debarshir gnome org>
Date: Fri Sep 23 17:15:49 2016 +0200
tests: GDATA_LINK_PARENT links don't have a title in Drive v2
... so there is nothing to compare with.
https://bugzilla.gnome.org/show_bug.cgi?id=684920
gdata/tests/documents.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdata/tests/documents.c b/gdata/tests/documents.c
index 2d384b0..902d32b 100644
--- a/gdata/tests/documents.c
+++ b/gdata/tests/documents.c
@@ -3,6 +3,7 @@
* GData Client
* Copyright (C) Thibault Saunier 2009 <saunierthibault gmail com>
* Copyright (C) Philip Withnall 2010 <philip tecnocode co uk>
+ * Copyright (C) Red Hat, Inc. 2015, 2016
*
* GData Client is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -46,8 +47,7 @@ check_document_is_in_folder (GDataDocumentsDocument *document, GDataDocumentsFol
links != NULL; links = links->next) {
GDataLink *_link = GDATA_LINK (links->data);
- if (strcmp (gdata_link_get_uri (_link), gdata_link_get_uri (folder_self_link)) == 0 &&
- strcmp (gdata_link_get_title (_link), gdata_entry_get_title (GDATA_ENTRY (folder))) == 0)
{
+ if (strcmp (gdata_link_get_uri (_link), gdata_link_get_uri (folder_self_link)) == 0) {
g_assert (found_folder_category == FALSE);
found_folder_category = TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]