diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c index 35c236deba..eb380fa46c 100644 --- a/gtk/gtklabel.c +++ b/gtk/gtklabel.c @@ -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)