application: Don't print a critical warning here

It's a runtime error, not a programming error.
This commit is contained in:
Christian Persch 2012-05-05 17:26:34 +02:00
parent 9217309a5c
commit 1541478bac

View 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;