[glib] application: Don't print a critical warning here
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] application: Don't print a critical warning here
- Date: Thu, 24 May 2012 15:34:26 +0000 (UTC)
commit 1541478bac6fed26bcb77ebae5e50bb7a76954f7
Author: Christian Persch <chpe gnome org>
Date: Sat May 5 17:26:34 2012 +0200
application: Don't print a critical warning here
It's a runtime error, not a programming error.
gio/gapplication.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gapplication.c b/gio/gapplication.c
index 32341cf..9593d35 100644
--- a/gio/gapplication.c
+++ b/gio/gapplication.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]