From b4b25fdf6a4001d0f42c987e8f9cf9b944b5fb00 Mon Sep 17 00:00:00 2001 From: "Carlos R. Mafra" Date: Tue, 16 Mar 2010 11:48:24 +0100 Subject: [PATCH] Remove redundant 'if defined' check WindowMaker.h already #includes wconfig.h, which checks exactly the same thing. So remove it from WindowMaker.h. However, it would be better if WindowMaker.h didn't include wconfig.h at all. The only reason I see for the inclusion is the check for KEEP_XKB_LOCK_STATUS, defined in wconfig.h. But that can be probably cleaned up too (I guess modern X's enable XKB stuff that by default, by I haven't checked) But anyway. --- src/WindowMaker.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/WindowMaker.h b/src/WindowMaker.h index d6df44cb..cad17392 100644 --- a/src/WindowMaker.h +++ b/src/WindowMaker.h @@ -23,21 +23,10 @@ #define WINDOWMAKER_H_ #include "wconfig.h" - #include #include - #include -#if defined(HAVE_LIBINTL_H) && defined(I18N) -# include -# define _(text) gettext(text) -#else -# define _(text) (text) -#endif - - - /* class codes */ typedef enum {