From 0e71b37f2afa86cff4595cd90db1929b9772fde1 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Mon, 27 Oct 2003 17:36:19 +0000 Subject: [PATCH] Don't include background.h if it's not needed. If needed, add explanation. --- src/boxes.c | 2 +- src/file.c | 2 +- src/filegui.c | 1 - src/main.c | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/boxes.c b/src/boxes.c index 221dafa03..31d55f260 100644 --- a/src/boxes.c +++ b/src/boxes.c @@ -44,7 +44,7 @@ #include "main.h" /* For the confirm_* variables */ #include "tree.h" #include "layout.h" /* for get_nth_panel_name proto */ -#include "background.h" +#include "background.h" /* task_list */ #ifdef HAVE_CHARSET #include "charsets.h" diff --git a/src/file.c b/src/file.c index 11a006190..80bac10d2 100644 --- a/src/file.c +++ b/src/file.c @@ -65,7 +65,7 @@ #include "layout.h" #include "widget.h" #include "wtools.h" -#include "background.h" /* tell_parent() */ +#include "background.h" /* we_are_background */ /* Needed for current_panel, other_panel and WTree */ #include "dir.h" diff --git a/src/filegui.c b/src/filegui.c index c883694c1..5904a1836 100644 --- a/src/filegui.c +++ b/src/filegui.c @@ -60,7 +60,6 @@ #include "setup.h" /* verbose */ #include "dialog.h" /* do_refresh() */ #include "color.h" /* dialog_colors */ -#include "background.h" /* message */ #include "widget.h" /* WLabel */ #define WANT_WIDGETS #include "main.h" /* the_hint */ diff --git a/src/main.c b/src/main.c index 9af2ab3c7..b422b2883 100644 --- a/src/main.c +++ b/src/main.c @@ -63,7 +63,6 @@ #include "panelize.h" #include "learn.h" /* learn_keys() */ #include "listmode.h" -#include "background.h" #include "execute.h" #include "ext.h" /* For flush_extension_file() */