[Xfce4-commits] <xfce4-panel:xfce-4.10> Use G_ENABLE_DEBUG to set fatal messages.

Nick Schermer noreply at xfce.org
Sun May 5 17:50:06 CEST 2013


Updating branch refs/heads/xfce-4.10
         to 1965297cc4b9e1e50e90fa2b04c96fa833592737 (commit)
       from eb60ba80bb8ccde40bc0a5ce1677457f63a887d2 (commit)

commit 1965297cc4b9e1e50e90fa2b04c96fa833592737
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Dec 2 22:30:08 2012 +0100

    Use G_ENABLE_DEBUG to set fatal messages.
    
    (cherry picked from commit 20cf9e8256bf41814aee2e6662c6c3d2527c3f80)

 wrapper/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/wrapper/main.c b/wrapper/main.c
index 64e1600..2420d79 100644
--- a/wrapper/main.c
+++ b/wrapper/main.c
@@ -280,7 +280,7 @@ main (gint argc, gchar **argv)
   /* set translation domain */
   xfce_textdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8");
 
-#ifndef NDEBUG
+#ifdef G_ENABLE_DEBUG
   /* terminate the program on warnings and critical messages */
   g_log_set_always_fatal (G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING);
 #endif


More information about the Xfce4-commits mailing list