From bd65dc782ce3315189041fd46773cbd61582dfe9 Mon Sep 17 00:00:00 2001 From: Yevgen Muntyan <17531749+muntyan@users.noreply.github.com> Date: Mon, 25 Jul 2005 12:19:12 +0000 Subject: [PATCH] Made dgettext_swapped return const char* --- moo/mooutils/newgtk/goption.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/moo/mooutils/newgtk/goption.c b/moo/mooutils/newgtk/goption.c index 31928143..64014433 100644 --- a/moo/mooutils/newgtk/goption.c +++ b/moo/mooutils/newgtk/goption.c @@ -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) {