From 3d7e4711921a936688441ea06c4691a67d5809be Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 17 Aug 2010 18:55:35 +0200 Subject: *: move NLS include and #define _ to abrtlib.h Signed-off-by: Denys Vlasenko --- src/applet/Applet.cpp | 12 +++--------- src/applet/CCApplet.cpp | 6 ------ 2 files changed, 3 insertions(+), 15 deletions(-) (limited to 'src/applet') diff --git a/src/applet/Applet.cpp b/src/applet/Applet.cpp index 85ee0db8..be9c662d 100644 --- a/src/applet/Applet.cpp +++ b/src/applet/Applet.cpp @@ -16,21 +16,15 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include -#include -#include #if HAVE_CONFIG_H # include #endif #if HAVE_LOCALE_H # include #endif -#if ENABLE_NLS -# include -# define _(S) gettext(S) -#else -# define _(S) (S) -#endif +#include +#include +#include #include "abrtlib.h" #include "abrt_dbus.h" #include "dbus_common.h" diff --git a/src/applet/CCApplet.cpp b/src/applet/CCApplet.cpp index 5349c7a5..4f6c2c65 100644 --- a/src/applet/CCApplet.cpp +++ b/src/applet/CCApplet.cpp @@ -19,12 +19,6 @@ #if HAVE_CONFIG_H # include #endif -#if ENABLE_NLS -# include -# define _(S) gettext(S) -#else -# define _(S) (S) -#endif #include "abrtlib.h" #include "CCApplet.h" -- cgit