aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-11-02 09:31:43 -0600
committerTed Gould <ted@canonical.com>2009-11-02 09:31:43 -0600
commit0745e42d7032a400e1661da94faef05de7be7527 (patch)
treecbae7f69e707582bcb4389e79a92466c8690703b
parent911b9d7f93b4319665b5fa63b84032df230412ba (diff)
downloadlibayatana-indicator-0745e42d7032a400e1661da94faef05de7be7527.tar.gz
libayatana-indicator-0745e42d7032a400e1661da94faef05de7be7527.tar.bz2
libayatana-indicator-0745e42d7032a400e1661da94faef05de7be7527.zip
Ah, we can't throw an error on success.
-rw-r--r--tests/service-manager-no-connect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/service-manager-no-connect.c b/tests/service-manager-no-connect.c
index 8006eda..1c32eb2 100644
--- a/tests/service-manager-no-connect.c
+++ b/tests/service-manager-no-connect.c
@@ -9,7 +9,7 @@ gboolean
timeout (gpointer data)
{
passed = TRUE;
- g_error("Timeout with no connection.");
+ g_debug("Timeout with no connection.");
g_main_loop_quit(mainloop);
return FALSE;
}
@@ -27,6 +27,7 @@ int
main (int argc, char ** argv)
{
g_type_init();
+ g_log_set_always_fatal(G_LOG_LEVEL_CRITICAL);
IndicatorServiceManager * is = indicator_service_manager_new("my.test.name");
g_signal_connect(G_OBJECT(is), INDICATOR_SERVICE_MANAGER_SIGNAL_CONNECTION_CHANGE, connection, NULL);