Fix compilation warning: use const *gchar variable

https://bugzilla.gnome.org/show_bug.cgi?id=605090
This commit is contained in:
Javier Jardón 2010-01-04 11:47:40 +01:00 committed by Tristan Van Berkom
parent 7ed2cbcfce
commit 02b2810a0e

View File

@ -3850,7 +3850,7 @@ separate_uline_pattern (const gchar *str,
gchar **pattern)
{
gboolean underscore;
gchar *src;
const gchar *src;
gchar *dest;
gchar *pattern_dest;
@ -3867,7 +3867,7 @@ separate_uline_pattern (const gchar *str,
while (*src)
{
gunichar c;
gchar *next_src;
const gchar *next_src;
c = g_utf8_get_char (src);
if (c == (gunichar)-1)