Hint about having to include config.h
authorFederico Mena Quintero <federico@novell.com>
Tue, 12 Aug 2008 19:01:46 +0000 (19:01 +0000)
committerFederico Mena Quintero <federico@src.gnome.org>
Tue, 12 Aug 2008 19:01:46 +0000 (19:01 +0000)
2008-08-12  Federico Mena Quintero  <federico@novell.com>

* glib/gi18n-lib.h: In the #error about having to define
GETTEXT_PACKAGE, add a hint about a possibly-missing config.h.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
svn path=/trunk/; revision=7343

ChangeLog
glib/gi18n-lib.h

index 7b3a1f7..d2312f3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-12  Federico Mena Quintero  <federico@novell.com>
+
+       * glib/gi18n-lib.h: In the #error about having to define
+       GETTEXT_PACKAGE, add a hint about a possibly-missing config.h.
+
 2008-08-11  Behdad Esfahbod  <behdad@gnome.org>
 
        Bug 547200 – g_utf8_find_next_char() issues
index b8be9ae..105f4d1 100644 (file)
@@ -25,7 +25,7 @@
 #include <libintl.h>
 
 #ifndef GETTEXT_PACKAGE
-#error You must define GETTEXT_PACKAGE before including gi18n-lib.h.
+#error You must define GETTEXT_PACKAGE before including gi18n-lib.h.  Did you forget to include config.h?
 #endif
 
 #define  _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))