Change prototype to take msgctxtid + offset instead of two strings, to
authorMatthias Clasen <mclasen@redhat.com>
Mon, 10 Dec 2007 05:24:36 +0000 (05:24 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 10 Dec 2007 05:24:36 +0000 (05:24 +0000)
commitd0d19f0dbaf45f8d999902dbf962adf08511c184
tree71b4372dd4360e7b99db7dd036ea36fbd0906fbb
parentd527cd5d9b8ec9c98e1a77cbe81e6fd2acd1da4b
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
ChangeLog
glib/gi18n-lib.h
glib/gi18n.h
glib/gstrfuncs.c
glib/gstrfuncs.h