mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-30 22:03:29 +02:00
application: Don't print a critical warning here
It's a runtime error, not a programming error.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user