[evolution-data-server] Fix minor compiler warnings
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Fix minor compiler warnings
- Date: Tue, 15 Nov 2011 08:20:37 +0000 (UTC)
commit 85162b95e1c66fbc6f4017cb983cbb6092e57001
Author: Milan Crha <mcrha redhat com>
Date: Tue Nov 15 09:20:03 2011 +0100
Fix minor compiler warnings
tests/libebook/client/test-client-get-revision.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/libebook/client/test-client-get-revision.c b/tests/libebook/client/test-client-get-revision.c
index f76c905..2d0f39f 100644
--- a/tests/libebook/client/test-client-get-revision.c
+++ b/tests/libebook/client/test-client-get-revision.c
@@ -15,7 +15,7 @@ get_revision_compare_cycle (EBookClient *client)
EContact *contact = NULL;
GError *error = NULL;
- if (!e_client_get_backend_property_sync (client, BOOK_BACKEND_PROPERTY_REVISION, &revision_before, NULL, &error))
+ if (!e_client_get_backend_property_sync (E_CLIENT (client), BOOK_BACKEND_PROPERTY_REVISION, &revision_before, NULL, &error))
g_error ("Error getting book revision: %s", error->message);
if (!add_contact_from_test_case_verify (client, "simple-1", &contact)) {
@@ -28,7 +28,7 @@ get_revision_compare_cycle (EBookClient *client)
g_object_unref (contact);
- if (!e_client_get_backend_property_sync (client, BOOK_BACKEND_PROPERTY_REVISION, &revision_after, NULL, &error))
+ if (!e_client_get_backend_property_sync (E_CLIENT (client), BOOK_BACKEND_PROPERTY_REVISION, &revision_after, NULL, &error))
g_error ("Error getting book revision: %s", error->message);
g_assert (revision_before);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]