Made dgettext_swapped return const char*

master
Yevgen Muntyan 2005-07-25 12:19:12 +00:00
parent 79060c2f1e
commit bd65dc782c
1 changed files with 2 additions and 1 deletions

View File

@ -21,6 +21,7 @@
/*
* Taken from glib-2.6.4 for glib < 2.6. Added glib version check to avoid compiling
* it with recent glib versions, and added noop P_() and _().
* Made dgettext_swapped return const char*
*/
#include "config.h"
@ -1641,7 +1642,7 @@ g_option_group_set_translate_func (GOptionGroup *group,
#define dgettext(domainname,msgid) (msgid)
static gchar *
static const gchar *
dgettext_swapped (const gchar *msgid,
const gchar *domainname)
{