glib r7343 - in trunk: . glib



Author: federico
Date: Tue Aug 12 19:01:46 2008
New Revision: 7343
URL: http://svn.gnome.org/viewvc/glib?rev=7343&view=rev

Log:
Hint about having to include config.h
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>

Modified:
   trunk/ChangeLog
   trunk/glib/gi18n-lib.h

Modified: trunk/glib/gi18n-lib.h
==============================================================================
--- trunk/glib/gi18n-lib.h	(original)
+++ trunk/glib/gi18n-lib.h	Tue Aug 12 19:01:46 2008
@@ -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))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]