[Xfce4-commits] r30152 - terminal/trunk/terminal

Nick Schermer nick at xfce.org
Thu Jul 2 23:14:16 CEST 2009


Author: nick
Date: 2009-07-02 21:14:16 +0000 (Thu, 02 Jul 2009)
New Revision: 30152

Modified:
   terminal/trunk/terminal/terminal-preferences.c
Log:
Only print debug in debug builds...


Modified: terminal/trunk/terminal/terminal-preferences.c
===================================================================
--- terminal/trunk/terminal/terminal-preferences.c	2009-07-02 21:07:02 UTC (rev 30151)
+++ terminal/trunk/terminal/terminal-preferences.c	2009-07-02 21:14:16 UTC (rev 30152)
@@ -1717,7 +1717,9 @@
       if (G_LIKELY (preferences->monitor != NULL))
         {
           /* connect signal */
-          g_debug ("Monitoring \"%s\" for changes.", filename);
+#ifndef NDEBUG
+          g_message ("Monitoring \"%s\" for changes.", filename);
+#endif
           g_signal_connect (G_OBJECT (preferences->monitor), "changed",
                             G_CALLBACK (terminal_preferences_monitor_changed),
                             preferences);




More information about the Xfce4-commits mailing list