Remove the ENABLE_NLS check, since GLib can't be built without anyway.
authorMatthias Clasen <matthiasc@src.gnome.org>
Thu, 8 Jul 2004 04:54:45 +0000 (04:54 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 8 Jul 2004 04:54:45 +0000 (04:54 +0000)
* glib/gi18n.h: Remove the ENABLE_NLS check, since GLib can't
be built without anyway.  (#135899, Murray Cumming)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gi18n.h

index fd94f5c..0e1f2d8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Jul  8 00:54:32 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gi18n.h: Remove the ENABLE_NLS check, since GLib can't
+       be built without anyway.  (#135899, Murray Cumming)
+
 Mon Jul  5 18:50:27 2004  Matthias Clasen  <maclas@gmx.de>
 
        * glib/gmessages.h (g_debug): Complete the g_log() 
index fd94f5c..0e1f2d8 100644 (file)
@@ -1,3 +1,8 @@
+Thu Jul  8 00:54:32 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gi18n.h: Remove the ENABLE_NLS check, since GLib can't
+       be built without anyway.  (#135899, Murray Cumming)
+
 Mon Jul  5 18:50:27 2004  Matthias Clasen  <maclas@gmx.de>
 
        * glib/gmessages.h (g_debug): Complete the g_log() 
index fd94f5c..0e1f2d8 100644 (file)
@@ -1,3 +1,8 @@
+Thu Jul  8 00:54:32 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gi18n.h: Remove the ENABLE_NLS check, since GLib can't
+       be built without anyway.  (#135899, Murray Cumming)
+
 Mon Jul  5 18:50:27 2004  Matthias Clasen  <maclas@gmx.de>
 
        * glib/gmessages.h (g_debug): Complete the g_log() 
index fd94f5c..0e1f2d8 100644 (file)
@@ -1,3 +1,8 @@
+Thu Jul  8 00:54:32 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gi18n.h: Remove the ENABLE_NLS check, since GLib can't
+       be built without anyway.  (#135899, Murray Cumming)
+
 Mon Jul  5 18:50:27 2004  Matthias Clasen  <maclas@gmx.de>
 
        * glib/gmessages.h (g_debug): Complete the g_log() 
index fd94f5c..0e1f2d8 100644 (file)
@@ -1,3 +1,8 @@
+Thu Jul  8 00:54:32 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gi18n.h: Remove the ENABLE_NLS check, since GLib can't
+       be built without anyway.  (#135899, Murray Cumming)
+
 Mon Jul  5 18:50:27 2004  Matthias Clasen  <maclas@gmx.de>
 
        * glib/gmessages.h (g_debug): Complete the g_log() 
index 1bbb6eb..730fbb2 100644 (file)
 #define __G_I18N_H__
 
 #include <glib/gstrfuncs.h>
-
-#ifdef ENABLE_NLS
-
 #include <libintl.h>
+
 #define _(String) gettext (String)
 #define Q_(String) g_strip_context ((String), gettext (String))
 #ifdef gettext_noop
 #define N_(String) (String)
 #endif
 
-#else /* NLS is disabled */
-
-#define _(String) (String)
-#define Q_(String) (String)
-#define N_(String) (String)
-#define textdomain(String) (String)
-#define gettext(String) (String)
-#define dgettext(Domain,String) (String)
-#define dcgettext(Domain,String,Type) (String)
-#define bindtextdomain(Domain,Directory) (Domain) 
-
-#endif
-
 #endif  /* __G_I18N_H__ */