projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db01233
)
maplistmodel: Fix an oversight
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 14 Jul 2022 23:51:26 +0000
(19:51 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 14 Jul 2022 23:52:54 +0000
(19:52 -0400)
This was meant to go into
678eb8ab76bd
.
gtk/gtkmaplistmodel.c
patch
|
blob
|
history
diff --git
a/gtk/gtkmaplistmodel.c
b/gtk/gtkmaplistmodel.c
index e1cb0b1553903b6cc68410eee61a953369e6ff40..de4cd27dbed32f2dcd568f0e67cec57ee79eef22 100644
(file)
--- 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)