[libnotify] Make notify-send always die on warnings
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libnotify] Make notify-send always die on warnings
- Date: Mon, 15 Nov 2010 19:57:39 +0000 (UTC)
commit ff1941aa9e928573c7271314f6c8ad27cc326862
Author: William Jon McCann <jmccann redhat com>
Date: Mon Nov 15 14:56:32 2010 -0500
Make notify-send always die on warnings
tools/notify-send.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tools/notify-send.c b/tools/notify-send.c
index fd69459..8dec70f 100644
--- a/tools/notify-send.c
+++ b/tools/notify-send.c
@@ -170,6 +170,7 @@ main (int argc, char *argv[])
g_type_init ();
g_set_prgname (argv[0]);
+ g_log_set_always_fatal (G_LOG_LEVEL_ERROR | G_LOG_LEVEL_CRITICAL);
opt_ctx = g_option_context_new (N_("<SUMMARY> [BODY] - "
"create a notification"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]