From 5be47bde51c996bbb0be0d90f87e86ae982286a4 Mon Sep 17 00:00:00 2001 From: Vitaly Minko Date: Wed, 10 Nov 2010 20:23:39 +0300 Subject: Make AccountChooser filters asynchronous to let them handle newly connected accounts properly (#633481). --- tests/interactive/test-empathy-account-chooser.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/interactive/test-empathy-account-chooser.c b/tests/interactive/test-empathy-account-chooser.c index d2ce7ccbc..7622a6248 100644 --- a/tests/interactive/test-empathy-account-chooser.c +++ b/tests/interactive/test-empathy-account-chooser.c @@ -5,12 +5,14 @@ #include #include -static gboolean +static void filter_func (TpAccount *account, + EmpathyAccountChooserFilterResultCallback callback, + gpointer callback_data, gpointer user_data) { g_assert (TP_IS_ACCOUNT (account)); - return TRUE; + callback (TRUE, callback_data); } int -- cgit v1.2.3