From 0745e42d7032a400e1661da94faef05de7be7527 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 2 Nov 2009 09:31:43 -0600 Subject: Ah, we can't throw an error on success. --- tests/service-manager-no-connect.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/service-manager-no-connect.c') 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); -- cgit v1.2.3