changeset 671:8268cbe682f1

Include debug.h from main.h since debug macros may be used anywhere in the code.
author zas_
date Fri, 16 May 2008 10:02:56 +0000
parents a484500de88d
children 913eb0ba99a6
files src/bar_info.c src/cache.c src/cache_maint.c src/collect-io.c src/collect-table.c src/collect.c src/color-man.c src/debug.c src/dupe.c src/editors.c src/exif-common.c src/filedata.c src/filefilter.c src/format_raw.c src/fullscreen.c src/image-load.c src/image-overlay.c src/image.c src/layout.c src/layout_image.c src/lirc.c src/main.c src/main.h src/pan-calendar.c src/pan-view.c src/pixbuf-renderer.c src/preferences.c src/print.c src/remote.c src/secure_save.c src/thumb.c src/thumb_standard.c src/trash.c src/ui_bookmark.c src/ui_fileops.c src/utilops.c src/view_file.c src/view_file_icon.c src/view_file_list.c src/window.c
diffstat 40 files changed, 2 insertions(+), 39 deletions(-) [+]
line wrap: on
line diff
--- a/src/bar_info.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/bar_info.c	Fri May 16 10:02:56 2008 +0000
@@ -17,7 +17,6 @@
 #include "bar_info.h"
 
 #include "cache.h"
-#include "debug.h"
 #include "filedata.h"
 #include "info.h"
 #include "secure_save.h"
--- a/src/cache.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/cache.c	Fri May 16 10:02:56 2008 +0000
@@ -13,7 +13,6 @@
 #include "main.h"
 #include "cache.h"
 
-#include "debug.h"
 #include "md5-util.h"
 #include "secure_save.h"
 #include "ui_fileops.h"
--- a/src/cache_maint.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/cache_maint.c	Fri May 16 10:02:56 2008 +0000
@@ -14,7 +14,6 @@
 #include "cache_maint.h"
 
 #include "cache.h"
-#include "debug.h"
 #include "filedata.h"
 #include "thumb.h"
 #include "thumb_standard.h"
--- a/src/collect-io.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/collect-io.c	Fri May 16 10:02:56 2008 +0000
@@ -15,7 +15,6 @@
 #include "collect-io.h"
 
 #include "collect.h"
-#include "debug.h"
 #include "filedata.h"
 #include "layout_util.h"
 #include "rcfile.h"
--- a/src/collect-table.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/collect-table.c	Fri May 16 10:02:56 2008 +0000
@@ -17,7 +17,6 @@
 #include "cellrenderericon.h"
 #include "collect-dlg.h"
 #include "collect-io.h"
-#include "debug.h"
 #include "dnd.h"
 #include "dupe.h"
 #include "editors.h"
--- a/src/collect.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/collect.c	Fri May 16 10:02:56 2008 +0000
@@ -17,7 +17,6 @@
 #include "collect-dlg.h"
 #include "collect-io.h"
 #include "collect-table.h"
-#include "debug.h"
 #include "editors.h"
 #include "filedata.h"
 #include "img-view.h"
--- a/src/color-man.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/color-man.c	Fri May 16 10:02:56 2008 +0000
@@ -14,7 +14,6 @@
 #include "main.h"
 #include "color-man.h"
 
-#include "debug.h"
 #include "image.h"
 #include "ui_fileops.h"
 
--- a/src/debug.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/debug.c	Fri May 16 10:02:56 2008 +0000
@@ -10,7 +10,6 @@
  */
 
 #include "main.h"
-#include "debug.h"
 
 #ifdef DEBUG
 
--- a/src/dupe.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/dupe.c	Fri May 16 10:02:56 2008 +0000
@@ -17,7 +17,6 @@
 #include "cache.h"
 #include "collect.h"
 #include "collect-table.h"
-#include "debug.h"
 #include "dnd.h"
 #include "editors.h"
 #include "filedata.h"
--- a/src/editors.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/editors.c	Fri May 16 10:02:56 2008 +0000
@@ -14,7 +14,6 @@
 #include "main.h"
 #include "editors.h"
 
-#include "debug.h"
 #include "filedata.h"
 #include "filefilter.h"
 #include "utilops.h"
--- a/src/exif-common.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/exif-common.c	Fri May 16 10:02:56 2008 +0000
@@ -35,7 +35,6 @@
 #include "main.h"
 #include "exif.h"
 
-#include "debug.h"
 #include "filedata.h"
 #include "filefilter.h"
 #include "format_raw.h"
--- a/src/filedata.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/filedata.c	Fri May 16 10:02:56 2008 +0000
@@ -16,7 +16,6 @@
 
 #include "filefilter.h"
 #include "cache.h"
-#include "debug.h"
 #include "rcfile.h"
 #include "secure_save.h"
 #include "thumb_standard.h"
--- a/src/filefilter.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/filefilter.c	Fri May 16 10:02:56 2008 +0000
@@ -15,7 +15,6 @@
 #include "filefilter.h"
 
 #include "cache.h"
-#include "debug.h"
 #include "rcfile.h"
 #include "secure_save.h"
 #include "thumb_standard.h"
--- a/src/format_raw.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/format_raw.c	Fri May 16 10:02:56 2008 +0000
@@ -31,7 +31,6 @@
 #include "main.h"
 #include "format_raw.h"
 
-#include "debug.h"
 #include "format_canon.h"
 #include "format_fuji.h"
 #include "format_nikon.h"
--- a/src/fullscreen.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/fullscreen.c	Fri May 16 10:02:56 2008 +0000
@@ -14,7 +14,6 @@
 #include "main.h"
 #include "fullscreen.h"
 
-#include "debug.h"
 #include "image.h"
 #include "ui_fileops.h"
 #include "ui_menu.h"
--- a/src/image-load.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/image-load.c	Fri May 16 10:02:56 2008 +0000
@@ -14,7 +14,6 @@
 #include "main.h"
 #include "image-load.h"
 
-#include "debug.h"
 #include "exif.h"
 #include "filedata.h"
 #include "ui_fileops.h"
--- a/src/image-overlay.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/image-overlay.c	Fri May 16 10:02:56 2008 +0000
@@ -15,7 +15,6 @@
 
 #include "bar_info.h"
 #include "collect.h"
-#include "debug.h"
 #include "exif.h"
 #include "filedata.h"
 #include "histogram.h"
--- a/src/image.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/image.c	Fri May 16 10:02:56 2008 +0000
@@ -17,7 +17,6 @@
 
 #include "collect.h"
 #include "color-man.h"
-#include "debug.h"
 #include "exif.h"
 #include "histogram.h"
 #include "image-load.h"
--- a/src/layout.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/layout.c	Fri May 16 10:02:56 2008 +0000
@@ -14,7 +14,6 @@
 #include "layout.h"
 
 #include "color-man.h"
-#include "debug.h"
 #include "filedata.h"
 #include "histogram.h"
 #include "image.h"
--- a/src/layout_image.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/layout_image.c	Fri May 16 10:02:56 2008 +0000
@@ -15,7 +15,6 @@
 
 #include "collect.h"
 #include "dnd.h"
-#include "debug.h"
 #include "editors.h"
 #include "filedata.h"
 #include "fullscreen.h"
--- a/src/lirc.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/lirc.c	Fri May 16 10:02:56 2008 +0000
@@ -3,7 +3,6 @@
 #ifdef HAVE_LIRC
 #include <lirc/lirc_client.h>
 #include "layout_image.h"
-#include "debug.h"
 
 gint lirc_fd = -1;
 struct lirc_config *config = NULL;
--- a/src/main.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/main.c	Fri May 16 10:02:56 2008 +0000
@@ -16,7 +16,6 @@
 #include "cache.h"
 #include "collect.h"
 #include "collect-io.h"
-#include "debug.h"
 #include "dnd.h"
 #include "editors.h"
 #include "filedata.h"
--- a/src/main.h	Fri May 16 09:10:56 2008 +0000
+++ b/src/main.h	Fri May 16 10:02:56 2008 +0000
@@ -26,6 +26,7 @@
 
 #include "intl.h"
 
+
 /*
  *-------------------------------------
  * Standard library includes
@@ -112,6 +113,7 @@
 				"%formatted.Camera:40%|%formatted.Flash%"
 
 #include "typedefs.h"
+#include "debug.h"
 #include "options.h"
 
 /*
--- a/src/pan-calendar.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/pan-calendar.c	Fri May 16 10:02:56 2008 +0000
@@ -14,7 +14,6 @@
 #include "main.h"
 #include "pan-types.h"
 
-#include "debug.h"
 
 #include <math.h>
 
--- a/src/pan-view.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/pan-view.c	Fri May 16 10:02:56 2008 +0000
@@ -16,7 +16,6 @@
 
 #include "bar_exif.h"
 #include "dnd.h"
-#include "debug.h"
 #include "editors.h"
 #include "exif.h"
 #include "fullscreen.h"
--- a/src/pixbuf-renderer.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/pixbuf-renderer.c	Fri May 16 10:02:56 2008 +0000
@@ -31,7 +31,6 @@
 #include "main.h"
 #include "pixbuf_util.h"
 
-#include "debug.h"
 #endif
 
 
--- a/src/preferences.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/preferences.c	Fri May 16 10:02:56 2008 +0000
@@ -16,7 +16,6 @@
 
 #include "bar_exif.h"
 #include "cache_maint.h"
-#include "debug.h"
 #include "editors.h"
 #include "exif.h"
 #include "filedata.h"
--- a/src/print.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/print.c	Fri May 16 10:02:56 2008 +0000
@@ -14,7 +14,6 @@
 #include "main.h"
 #include "print.h"
 
-#include "debug.h"
 #include "filedata.h"
 #include "image.h"
 #include "image-load.h"
--- a/src/remote.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/remote.c	Fri May 16 10:02:56 2008 +0000
@@ -15,7 +15,6 @@
 #include "remote.h"
 
 #include "collect.h"
-#include "debug.h"
 #include "filedata.h"
 #include "img-view.h"
 #include "layout.h"
--- a/src/secure_save.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/secure_save.c	Fri May 16 10:02:56 2008 +0000
@@ -16,7 +16,6 @@
 #include "main.h"
 #include "secure_save.h"
 
-#include "debug.h"
 
 /* ABOUT SECURE SAVE */
 /* This code was borrowed from the ELinks project (http://elinks.cz)
--- a/src/thumb.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/thumb.c	Fri May 16 10:02:56 2008 +0000
@@ -15,7 +15,6 @@
 #include "thumb.h"
 
 #include "cache.h"
-#include "debug.h"
 #include "image-load.h"
 #include "filedata.h"
 #include "pixbuf_util.h"
--- a/src/thumb_standard.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/thumb_standard.c	Fri May 16 10:02:56 2008 +0000
@@ -15,7 +15,6 @@
 #include "thumb_standard.h"
 
 #include "cache.h"	/* for cache_ensure_dir_exists */
-#include "debug.h"
 #include "image-load.h"
 #include "md5-util.h"
 #include "pixbuf_util.h"
--- a/src/trash.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/trash.c	Fri May 16 10:02:56 2008 +0000
@@ -16,7 +16,6 @@
 #include "utilops.h"
 
 
-#include "debug.h"
 #include "filedata.h"
 #include "ui_fileops.h"
 #include "ui_misc.h"
--- a/src/ui_bookmark.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/ui_bookmark.c	Fri May 16 10:02:56 2008 +0000
@@ -26,7 +26,6 @@
 #include "main.h"
 #include "filedata.h"
 
-#include "debug.h"
 #include "secure_save.h"
 #include "ui_bookmark.h"
 #include "ui_fileops.h"
--- a/src/ui_fileops.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/ui_fileops.c	Fri May 16 10:02:56 2008 +0000
@@ -29,7 +29,6 @@
 #include "main.h"
 #include "ui_fileops.h"
 
-#include "debug.h"
 #include "ui_utildlg.h"	/* for locale warning dialog */
 
 /*
--- a/src/utilops.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/utilops.c	Fri May 16 10:02:56 2008 +0000
@@ -18,7 +18,6 @@
 #include "cache.h"
 #include "cache_maint.h"
 #include "collect.h"
-#include "debug.h"
 #include "dupe.h"
 #include "filedata.h"
 #include "filefilter.h"
--- a/src/view_file.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/view_file.c	Fri May 16 10:02:56 2008 +0000
@@ -12,7 +12,6 @@
 #include "main.h"
 #include "view_file.h"
 
-#include "debug.h"
 #include "editors.h"
 #include "info.h"
 #include "layout.h"
--- a/src/view_file_icon.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/view_file_icon.c	Fri May 16 10:02:56 2008 +0000
@@ -17,7 +17,6 @@
 #include "collect.h"
 #include "collect-io.h"
 #include "collect-table.h"
-#include "debug.h"
 #include "dnd.h"
 #include "editors.h"
 #include "img-view.h"
--- a/src/view_file_list.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/view_file_list.c	Fri May 16 10:02:56 2008 +0000
@@ -14,7 +14,6 @@
 #include "view_file_list.h"
 
 #include "cache_maint.h"
-#include "debug.h"
 #include "dnd.h"
 #include "editors.h"
 #include "img-view.h"
--- a/src/window.c	Fri May 16 09:10:56 2008 +0000
+++ b/src/window.c	Fri May 16 10:02:56 2008 +0000
@@ -12,7 +12,6 @@
 #include "main.h"
 #include "window.h"
 
-#include "debug.h"
 #include "pixbuf_util.h"
 #include "ui_fileops.h"
 #include "ui_help.h"