glib r7812 - in trunk: . glib
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r7812 - in trunk: . glib
- Date: Sun, 18 Jan 2009 01:08:17 +0000 (UTC)
Author: matthiasc
Date: Sun Jan 18 01:08:17 2009
New Revision: 7812
URL: http://svn.gnome.org/viewvc/glib?rev=7812&view=rev
Log:
* glib/glibintl.h: If !ENABLE_NLS, make textomain() macro
return "messages" in case of a NULL argument. Patch by
Peter Kjellerstedt.
Modified:
trunk/ChangeLog
trunk/glib/glibintl.h
Modified: trunk/glib/glibintl.h
==============================================================================
--- trunk/glib/glibintl.h (original)
+++ trunk/glib/glibintl.h Sun Jan 18 01:08:17 2009
@@ -23,7 +23,7 @@
#define _(String) (String)
#define N_(String) (String)
#define P_(String) (String)
-#define textdomain(String) (String)
+#define textdomain(String) ((String) ? (String) : "messages")
#define gettext(String) (String)
#define dgettext(Domain,String) (String)
#define dcgettext(Domain,String,Type) (String)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]