changed return value to const gchar* to fix warning.

2008-06-16  Michael Natterer  <mitch@imendio.com>

	* glib/goption.c (dgettext_swapped): changed return value to
	const gchar* to fix warning.


svn path=/trunk/; revision=7046
This commit is contained in:
Michael Natterer 2008-06-16 09:25:57 +00:00 committed by Michael Natterer
parent 17ac5f4dfb
commit 4622ed8cfc
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-06-16 Michael Natterer <mitch@imendio.com>
* glib/goption.c (dgettext_swapped): changed return value to
const gchar* to fix warning.
2008-06-16 Ross Burton <ross@burtonini.com>
* gio/gfileenumerator.c:

View File

@ -2054,7 +2054,7 @@ g_option_group_set_translate_func (GOptionGroup *group,
group->translate_notify = destroy_notify;
}
static gchar *
static const gchar *
dgettext_swapped (const gchar *msgid,
const gchar *domainname)
{