diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2014-05-29 15:11:15 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2014-05-29 15:55:21 +0200 |
commit | 0d3268b8727a9d704501a74007fb23ad44e46f89 (patch) | |
tree | fac8817e737807f3c6b56ce77a973fc991609893 | |
parent | 122f428cfe103a36ffd72a54178b73ace42855c4 (diff) | |
download | telepathy-glib-0d3268b8727a9d704501a74007fb23ad44e46f89.tar.gz |
test-account: fix callback signature
-rw-r--r-- | tests/dbus/account.c | 6 |
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); } |