summary refs log tree commit diff stats
path: root/src/fe-gtk/fe-gtk.h
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2014-06-21 23:10:18 -0400
committerTingPing <tingping@tingping.se>2014-06-21 23:10:18 -0400
commitc3c6b46230df853b51b0979c1c5a561517b000a0 (patch)
treeb660ff7ed34b400e168f817135113f692ac706cf /src/fe-gtk/fe-gtk.h
parent47b4b0da8a3f7203951f9c9bd76dbd559eeb17a5 (diff)
Clean up includes for gettext
It is always enabled.
Diffstat (limited to 'src/fe-gtk/fe-gtk.h')
-rw-r--r--src/fe-gtk/fe-gtk.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/fe-gtk/fe-gtk.h b/src/fe-gtk/fe-gtk.h
index c93ec1c6..17d1ab4d 100644
--- a/src/fe-gtk/fe-gtk.h
+++ b/src/fe-gtk/fe-gtk.h
@@ -28,21 +28,7 @@
 #include <sys/types.h>
 #endif
 
-#if defined(ENABLE_NLS) && !defined(_)
-#  include <libintl.h>
-#  define _(x) gettext(x)
-#  ifdef gettext_noop
-#    define N_(String) gettext_noop (String)
-#  else
-#    define N_(String) (String)
-#  endif
-#endif
-#if !defined(ENABLE_NLS) && defined(_)
-#  undef _
-#  define N_(String) (String)
-#  define _(x) (x)
-#endif
-
+#include <glib/gi18n.h>
 #include <gtk/gtk.h>
 
 #ifdef HAVE_GTK_MAC