diff --git a/gtk/gtkmaplistmodel.c b/gtk/gtkmaplistmodel.c index e1cb0b1553..de4cd27dbe 100644 --- a/gtk/gtkmaplistmodel.c +++ b/gtk/gtkmaplistmodel.c @@ -249,7 +249,7 @@ gtk_map_list_model_items_changed_cb (GListModel *model, if (end >= position + count) { node->n_items -= count; - removed = 0; + count = 0; gtk_rb_tree_node_mark_dirty (node); } else if (start < position)