[next] telepathy-glib: test-account: fix callback signature
Simon McVittie
smcv at kemper.freedesktop.org
Wed Sep 17 05:22:52 PDT 2014
Module: telepathy-glib
Branch: next
Commit: 0d3268b8727a9d704501a74007fb23ad44e46f89
URL: http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=0d3268b8727a9d704501a74007fb23ad44e46f89
Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date: Thu May 29 15:11:15 2014 +0200
test-account: fix callback signature
---
tests/dbus/account.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/dbus/account.c b/tests/dbus/account.c
index 036d485..34922de 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);
}
More information about the telepathy-commits
mailing list