From 2295ba857f09fa58c6e61ec4147536021055bbf6 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 16 Mar 2010 16:34:50 +0100 Subject: [PATCH] The fallback parameter to g_convert_with_fallback() should be const This patch makes it so. --- glib/gconvert.c | 2 +- glib/gconvert.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/glib/gconvert.c b/glib/gconvert.c index 5ec8f1d99..520c32abe 100644 --- a/glib/gconvert.c +++ b/glib/gconvert.c @@ -808,7 +808,7 @@ g_convert_with_fallback (const gchar *str, gssize len, const gchar *to_codeset, const gchar *from_codeset, - gchar *fallback, + const gchar *fallback, gsize *bytes_read, gsize *bytes_written, GError **error) diff --git a/glib/gconvert.h b/glib/gconvert.h index 4d767841d..c4f274fb9 100644 --- a/glib/gconvert.h +++ b/glib/gconvert.h @@ -79,7 +79,7 @@ gchar* g_convert_with_fallback (const gchar *str, gssize len, const gchar *to_codeset, const gchar *from_codeset, - gchar *fallback, + const gchar *fallback, gsize *bytes_read, gsize *bytes_written, GError **error) G_GNUC_MALLOC;