diff options
author | Matthias Clasen <mclasen@redhat.com> | 2007-12-10 05:24:36 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2007-12-10 05:24:36 +0000 |
commit | d0d19f0dbaf45f8d999902dbf962adf08511c184 (patch) | |
tree | 71b4372dd4360e7b99db7dd036ea36fbd0906fbb /glib/gstrfuncs.h | |
parent | d527cd5d9b8ec9c98e1a77cbe81e6fd2acd1da4b (diff) | |
download | glib-d0d19f0dbaf45f8d999902dbf962adf08511c184.tar.gz |
Change prototype to take msgctxtid + offset instead of two strings, to
2007-12-10 Matthias Clasen <mclasen@redhat.com>
* glib/gstrfuncs.h:
* glib/gstrfuncs.c (g_dpgettext): Change prototype to take
msgctxtid + offset instead of two strings, to avoid duplication
of string constants if the compiler/linker don't perform constant
suffix merging. (#502590, Christian Persch)
* glib/gi18n.h:
* glib/gi18n-lib.h: Adapt the definitions of C_() and Q_().
svn path=/trunk/; revision=6081
Diffstat (limited to 'glib/gstrfuncs.h')
-rw-r--r-- | glib/gstrfuncs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/gstrfuncs.h b/glib/gstrfuncs.h index aac58f35e..bf35326f6 100644 --- a/glib/gstrfuncs.h +++ b/glib/gstrfuncs.h @@ -245,7 +245,7 @@ G_CONST_RETURN gchar *g_strip_context (const gchar *msgid, G_CONST_RETURN gchar *g_dpgettext (const gchar *domain, const gchar *msgctxtid, - const gchar *msgid); + gsize msgidoffset); G_END_DECLS |