diff options
author | Ted Gould <ted@gould.cx> | 2009-12-01 10:43:10 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2009-12-01 10:43:10 -0600 |
commit | d69de93483b5ad9e709f59dac00af7ff7f4df477 (patch) | |
tree | e110995230e760d73d790becfd69596c5a7cbf98 /tests/service-manager-connect.c | |
parent | 8f0f2ad3c02996ce2362eab5383f0a4ab9175427 (diff) | |
download | libayatana-indicator-d69de93483b5ad9e709f59dac00af7ff7f4df477.tar.gz libayatana-indicator-d69de93483b5ad9e709f59dac00af7ff7f4df477.tar.bz2 libayatana-indicator-d69de93483b5ad9e709f59dac00af7ff7f4df477.zip |
Updating connection prototype to get all the data.
Diffstat (limited to 'tests/service-manager-connect.c')
-rw-r--r-- | tests/service-manager-connect.c | 4 |
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); |