changed return value to const gchar* to fix warning.
authorMichael Natterer <mitch@imendio.com>
Mon, 16 Jun 2008 09:25:57 +0000 (09:25 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Mon, 16 Jun 2008 09:25:57 +0000 (09:25 +0000)
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

ChangeLog
glib/goption.c

index 73b2356..2d3eb28 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
index 5d3f684..bf0e41c 100644 (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)
 {