summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-05-29 15:11:15 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-05-29 15:55:21 +0200
commit0d3268b8727a9d704501a74007fb23ad44e46f89 (patch)
treefac8817e737807f3c6b56ce77a973fc991609893
parent122f428cfe103a36ffd72a54178b73ace42855c4 (diff)
downloadtelepathy-glib-0d3268b8727a9d704501a74007fb23ad44e46f89.tar.gz
test-account: fix callback signature
-rw-r--r--tests/dbus/account.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/dbus/account.c b/tests/dbus/account.c
index 036d485d2..34922de55 100644
--- a/tests/dbus/account.c
+++ b/tests/dbus/account.c
@@ -154,9 +154,9 @@ test_get_times_notified (Test *test,
}
static void
-test_notify_cb (Test *test,
+test_notify_cb (TpAccount *account,
GParamSpec *pspec,
- TpAccount *account)
+ Test *test)
{
guint counter = test_get_times_notified (test, pspec->name);
@@ -176,7 +176,7 @@ test_set_up_account_notify (Test *test)
g_signal_handler_disconnect (test->account, test->notify_id);
}
- test->notify_id = g_signal_connect_swapped (test->account, "notify",
+ test->notify_id = g_signal_connect (test->account, "notify",
G_CALLBACK (test_notify_cb), test);
}