Fix bug #2447, "Compose window crashes if moving a folder that is being replied to...
[claws.git] / src / toolbar.c
index 8588d5138b0570d3b717ce1f2dc9d582bfdb0f96..0f797808512fd313f6d29c84057157b18b6c694a 100644 (file)
@@ -983,8 +983,8 @@ void toolbar_set_learn_button(Toolbar            *toolbar,
 void toolbar_toggle(guint action, gpointer data)
 {
        MainWindow *mainwin = (MainWindow*)data;
-       GList *list;
-       GList *cur;
+       const GList *list;
+       const GList *cur;
 
        cm_return_if_fail(mainwin != NULL);