aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/service-manager-connect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/service-manager-connect.c b/tests/service-manager-connect.c
index b62c2c9..4519b83 100644
--- a/tests/service-manager-connect.c
+++ b/tests/service-manager-connect.c
@@ -15,7 +15,7 @@ timeout (gpointer data)
}
void
-connection (void)
+connection (IndicatorServiceManager * sm, gboolean connected, gpointer user_data)
{
g_debug("Connection");
passed = TRUE;
@@ -30,7 +30,7 @@ main (int argc, char ** argv)
g_log_set_always_fatal(G_LOG_LEVEL_CRITICAL);
IndicatorServiceManager * is = indicator_service_manager_new("org.ayatana.test");
- g_signal_connect(G_OBJECT(is), INDICATOR_SERVICE_MANAGER_SIGNAL_CONNECTION_CHANGE, connection, NULL);
+ g_signal_connect(G_OBJECT(is), INDICATOR_SERVICE_MANAGER_SIGNAL_CONNECTION_CHANGE, G_CALLBACK(connection), NULL);
g_timeout_add_seconds(1, timeout, NULL);