Fix warning
authorColin Leroy <colin@colino.net>
Fri, 2 May 2014 08:02:18 +0000 (10:02 +0200)
committerColin Leroy <colin@colino.net>
Fri, 2 May 2014 08:02:18 +0000 (10:02 +0200)
src/gtk/combobox.c

index b4967f5..c44858a 100644 (file)
@@ -117,7 +117,7 @@ static gboolean _select_by_text_func(GtkTreeModel *model,   GtkTreePath *path,
 {
        GtkComboBox *combobox = ctx->combobox;
        const gchar *data = ctx->cdata;
-       const gchar *curdata;
+       gchar *curdata;
 
        cm_return_val_if_fail(combobox != NULL, FALSE);
        cm_return_val_if_fail(GTK_IS_COMBO_BOX (combobox), FALSE);