diff options
author | Vitaly Minko <vitaly.minko@gmail.com> | 2010-11-11 01:23:39 +0800 |
---|---|---|
committer | Vitaly Minko <vitaly.minko@gmail.com> | 2010-11-11 01:23:39 +0800 |
commit | 18d649cbfd8eda7678957a3d2a76b9bb8681a981 (patch) | |
tree | c3798b5507f8bf2102d3bd6c94922a21e40c17a8 /tests/interactive | |
parent | c6cd722328a112e8f4b015ca57ffe8dc72f50cd8 (diff) | |
download | gsoc2013-empathy-18d649cbfd8eda7678957a3d2a76b9bb8681a981.tar gsoc2013-empathy-18d649cbfd8eda7678957a3d2a76b9bb8681a981.tar.gz gsoc2013-empathy-18d649cbfd8eda7678957a3d2a76b9bb8681a981.tar.bz2 gsoc2013-empathy-18d649cbfd8eda7678957a3d2a76b9bb8681a981.tar.lz gsoc2013-empathy-18d649cbfd8eda7678957a3d2a76b9bb8681a981.tar.xz gsoc2013-empathy-18d649cbfd8eda7678957a3d2a76b9bb8681a981.tar.zst gsoc2013-empathy-18d649cbfd8eda7678957a3d2a76b9bb8681a981.zip |
Make AccountChooser filters asynchronous to let them handle newly connected accounts properly (#633481).
Diffstat (limited to 'tests/interactive')
-rw-r--r-- | tests/interactive/test-empathy-account-chooser.c | 6 |
1 files changed, 4 insertions, 2 deletions
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 <libempathy-gtk/empathy-ui-utils.h> #include <libempathy-gtk/empathy-account-chooser.h> -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 |