treeview: Stop using container api

This commit is contained in:
Matthias Clasen 2020-05-04 22:40:15 -04:00
parent aeef59fda9
commit 52b1a347d8

View File

@ -13956,8 +13956,7 @@ _gtk_tree_view_remove_editable (GtkTreeView *tree_view,
if (gtk_widget_has_focus (GTK_WIDGET (cell_editable)))
gtk_widget_grab_focus (GTK_WIDGET (tree_view));
gtk_container_remove (GTK_CONTAINER (tree_view),
GTK_WIDGET (cell_editable));
gtk_tree_view_remove (tree_view, GTK_WIDGET (cell_editable));
/* FIXME should only redraw a single node */
gtk_widget_queue_draw (GTK_WIDGET (tree_view));