summaryrefslogtreecommitdiff
blob: 553796315282ffa90d3fe0eaf5c3a9962207edac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 5874fbdae7d3dbc332a151441547ff7401579327 Mon Sep 17 00:00:00 2001
From: Mike Lundy <mike@fluffypenguin.org>
Date: Sat, 14 Mar 2009 19:30:22 -0700
Subject: [PATCH] remove debug code that turns warnings into crashes

https://bugs.gentoo.org/show_bug.cgi?id=262502
---
 daemon/daemon-main.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/daemon/daemon-main.c b/daemon/daemon-main.c
index 0a77036..b3b2b47 100644
--- a/daemon/daemon-main.c
+++ b/daemon/daemon-main.c
@@ -65,12 +65,6 @@ daemon_init (void)
       dbus_error_free (&derror);
       exit (1);
     }
-
-  GLogLevelFlags fatal_mask;
-
-  fatal_mask = g_log_set_always_fatal (G_LOG_FATAL_MASK);
-  fatal_mask |= G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL;
-  g_log_set_always_fatal (fatal_mask);
 }
 
 void
-- 
1.6.1.2