[next] telepathy-glib: future-account test: don' t bother getting Supersedes value
Jonny Lamb
jonny at kemper.freedesktop.org
Fri May 11 02:41:38 PDT 2012
Module: telepathy-glib
Branch: next
Commit: f9c72a2ee021436c10f716d877cc1630f1e23dfa
URL: http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=f9c72a2ee021436c10f716d877cc1630f1e23dfa
Author: Jonny Lamb <jonny.lamb at collabora.co.uk>
Date: Tue May 8 11:40:57 2012 +0100
future-account test: don't bother getting Supersedes value
We don't use it and we weren't freeing something properly before..
Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
tests/dbus/future-account.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/tests/dbus/future-account.c b/tests/dbus/future-account.c
index a90faab..b1b50f5 100644
--- a/tests/dbus/future-account.c
+++ b/tests/dbus/future-account.c
@@ -202,7 +202,6 @@ test_properties (Test *test,
gboolean found;
const gchar *s;
gboolean b;
- const gchar * const *ao;
GVariant *v;
test->account = tp_future_account_new (test->account_manager,
@@ -326,9 +325,8 @@ test_properties (Test *test,
"/science/yeah/woo");
g_assert (supersedes[1] == NULL);
- found = g_variant_lookup (props, TP_PROP_ACCOUNT_SUPERSEDES, "^a&o", &ao);
+ found = g_variant_lookup (props, TP_PROP_ACCOUNT_SUPERSEDES, "^a&o", NULL);
g_assert (found);
- g_assert (ao != NULL);
g_strfreev (supersedes);
g_variant_unref (props);
More information about the telepathy-commits
mailing list