mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
gtklistitemmanager: Stop leaking item
Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/5940
This commit is contained in:
parent
576e8a2090
commit
e78148bae5
@ -1356,6 +1356,7 @@ gtk_list_item_manager_ensure_items (GtkListItemManager *self,
|
||||
position + i,
|
||||
item,
|
||||
gtk_selection_model_is_selected (self->model, position + i));
|
||||
g_object_unref (item);
|
||||
gtk_widget_insert_after (tile->widget, self->widget, insert_after);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user