[next] telepathy-mission-control: Fix addition of restrictions to test accounts
Simon McVittie
smcv at kemper.freedesktop.org
Mon Jan 13 06:07:38 PST 2014
Module: telepathy-mission-control
Branch: next
Commit: 890cb5b5c2dc40762e28bac39379d9ed8f0f973f
URL: http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=890cb5b5c2dc40762e28bac39379d9ed8f0f973f
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Wed Nov 13 17:48:41 2013 +0000
Fix addition of restrictions to test accounts
Account.restrictions wasn't initialized properly, so it would sometimes
be nonzero, leading to mysterious test failures.
Reviewed-by: Xavier Claessens <xavier.claessens at collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=71390
---
tests/twisted/dbus-account-plugin.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/twisted/dbus-account-plugin.c b/tests/twisted/dbus-account-plugin.c
index 3cf29ca..a8a2e4d 100644
--- a/tests/twisted/dbus-account-plugin.c
+++ b/tests/twisted/dbus-account-plugin.c
@@ -158,7 +158,7 @@ ensure_account (TestDBusAccountPlugin *self,
if (account == NULL)
{
- account = g_slice_new (Account);
+ account = g_slice_new0 (Account);
account->path = g_strdup_printf ("%s%s", TP_ACCOUNT_OBJECT_PATH_BASE,
account_name);
More information about the telepathy-commits
mailing list