diff src/ui_spinner.c @ 673:fbebf5cf4a55

Do not use printf() directly but use new wrapper function log_printf() instead.
author zas_
date Fri, 16 May 2008 12:16:49 +0000
parents 985fdfebd89e
children a7289f9e8d29
line wrap: on
line diff
--- a/src/ui_spinner.c	Fri May 16 12:08:51 2008 +0000
+++ b/src/ui_spinner.c	Fri May 16 12:16:49 2008 +0000
@@ -21,6 +21,7 @@
 
 #include <gtk/gtk.h>
 
+#include "main.h"
 #include "ui_spinner.h"
 
 #include "ui_icons.h"
@@ -199,7 +200,7 @@
 	sp = g_object_get_data(G_OBJECT(spinner), "spinner");
 	if (sp->timer_id != -1)
 		{
-		printf("spinner warning: attempt to step with timer set\n");
+		log_printf("spinner warning: attempt to step with timer set\n");
 		return;
 		}