Fix a leak of cell accessibles

gtk_container_cell_accessible_add_child is transfer none,
so we need to drop the reference we hold, otherwise it
leaks.
This commit is contained in:
Matthias Clasen
2022-02-11 18:39:55 -05:00
parent c7f9c80eb5
commit cc977be580

View File

@ -413,6 +413,7 @@ create_cell_accessible (GtkTreeView *treeview,
{
cell = create_cell_accessible_for_renderer (l->data, GTK_WIDGET (treeview), ATK_OBJECT (container));
gtk_container_cell_accessible_add_child (container, cell);
g_object_unref (cell);
}
cell = GTK_CELL_ACCESSIBLE (container);