application: Don't print a critical warning here
authorChristian Persch <chpe@gnome.org>
Sat, 5 May 2012 15:26:34 +0000 (17:26 +0200)
committerChristian Persch <chpe@gnome.org>
Thu, 24 May 2012 15:33:37 +0000 (17:33 +0200)
It's a runtime error, not a programming error.

gio/gapplication.c

index 32341cf..9593d35 100644 (file)
@@ -442,7 +442,7 @@ g_application_real_local_command_line (GApplication   *application,
 
       if (!g_application_register (application, NULL, &error))
         {
-          g_critical ("%s", error->message);
+          g_printerr ("%s", error->message);
           g_error_free (error);
           *exit_status = 1;
           return TRUE;