diff src/pixbuf-renderer.c @ 507:135570a8bd96

Move debug macros from main.h to new debug.h. Make debug_level static to debug.c and add utility functions to manipulate it. Add #include "debug.h" where needed.
author zas_
date Thu, 24 Apr 2008 08:53:39 +0000
parents fc9c8a3e1a8b
children f9bf33be53ff
line wrap: on
line diff
--- a/src/pixbuf-renderer.c	Thu Apr 24 00:15:03 2008 +0000
+++ b/src/pixbuf-renderer.c	Thu Apr 24 08:53:39 2008 +0000
@@ -12,7 +12,9 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <math.h>
+
 #include "pixbuf-renderer.h"
 #include "intl.h"
 
@@ -25,12 +27,11 @@
  */
 #define GQ_BUILD 1
 
-
 #ifdef GQ_BUILD
-	#include "pixbuf_util.h"
-
-	/* for debug */
-	#include "main.h"
+#include "main.h"
+#include "pixbuf_util.h"
+
+#include "debug.h"
 #endif