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

Nick Schermer noreply at xfce.org
Sun Dec 2 22:32:01 CET 2012


Updating branch refs/heads/master
         to 20cf9e8256bf41814aee2e6662c6c3d2527c3f80 (commit)
       from 2accbc41cfc21b834710f644da0ff27fac01d909 (commit)

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

    Use G_ENABLE_DEBUG to set fatal messages.

 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