mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
application: Don't print a critical warning here
It's a runtime error, not a programming error.
This commit is contained in:
parent
9217309a5c
commit
1541478bac
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user