Revision: 1572
http://gtkpod.svn.sourceforge.net/gtkpod/?rev=1572&view=rev
Author: tmzullinger
Date: 2007-06-22 08:34:37 -0700 (Fri, 22 Jun 2007)
Log Message:
-----------
disable debug output for release
Modified Paths:
--------------
gtkpod/trunk/ChangeLog_detailed
gtkpod/trunk/src/fetchcover.c
Modified: gtkpod/trunk/ChangeLog_detailed
===================================================================
--- gtkpod/trunk/ChangeLog_detailed 2007-06-22 02:30:54 UTC (rev 1571)
+++ gtkpod/trunk/ChangeLog_detailed 2007-06-22 15:34:37 UTC (rev 1572)
@@ -1,3 +1,8 @@
+2007-06-22 Todd Zullinger <tmzullinger at users.sourceforge.net>
+
+ * src/fetchcover.c:
+ disable debug output for release
+
2007-06-21 Todd Zullinger <tmzullinger at users.sourceforge.net>
* data/gtkpod.glade:
Modified: gtkpod/trunk/src/fetchcover.c
===================================================================
--- gtkpod/trunk/src/fetchcover.c 2007-06-22 02:30:54 UTC (rev 1571)
+++ gtkpod/trunk/src/fetchcover.c 2007-06-22 15:34:37 UTC (rev 1572)
@@ -34,7 +34,7 @@
#include <glib/gprintf.h>
#include <glib/gstdio.h>
-#define FETCHCOVER_DEBUG 1
+#undef FETCHCOVER_DEBUG
static void fetchcover_statusbar_update (gchar *message);
static GtkDialog *fetchcover_display_dialog (Track *track, Itdb_Device
*device, GtkWindow *parent);
@@ -927,19 +927,17 @@
*/
static void fetchcover_debug(const gchar *format, ...)
{
- if (FETCHCOVER_DEBUG)
- {
- va_list args;
- va_start(args, format);
- gchar *s = g_strdup_vprintf(format, args);
- va_end(args);
- printf("%s\n", s);
- fflush(stdout);
- g_free(s);
- }
+#ifdef FETCHCOVER_DEBUG
+ va_list args;
+ va_start (args, format);
+ gchar *s = g_strdup_vprintf (format, args);
+ va_end (args);
+ printf ("%s\n", s);
+ fflush (stdout);
+ g_free (s);
+#endif
}
-
/**
* fetchcover_statusbar_update:
*
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2