gnome-terminal r2469 - trunk/src



Author: chpe
Date: Wed Mar 19 18:09:27 2008
New Revision: 2469
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2469&view=rev

Log:
Make debug spew debug-only.


Modified:
   trunk/src/terminal.c

Modified: trunk/src/terminal.c
==============================================================================
--- trunk/src/terminal.c	(original)
+++ trunk/src/terminal.c	Wed Mar 19 18:09:27 2008
@@ -2993,8 +2993,10 @@
   char **clone_command;
   TerminalApp *app;
   int argc;
+#ifdef GNOME_ENABLE_DEBUG
   int i;
-  
+#endif
+
   app = data;
   
   terminal_app_get_clone_command (app, &argc, &clone_command);
@@ -3002,6 +3004,7 @@
   /* GnomeClient builds the clone command from the restart command */
   gnome_client_set_restart_command (client, argc, clone_command);
 
+#ifdef GNOME_ENABLE_DEBUG
   /* Debug spew */
   g_print ("Saving session: ");
   i = 0;
@@ -3011,6 +3014,7 @@
       ++i;
     }
   g_print ("\n");
+#endif
 
   g_strfreev (clone_command);
   



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]