From 7743f359720686b1183172a073fa210ba23faf15 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 14 Jul 2022 19:51:26 -0400 Subject: [PATCH] maplistmodel: Fix an oversight This was meant to go into 678eb8ab76bd. --- gtk/gtkmaplistmodel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)