[gtk/kill-containers: 14/48] treeview: Stop using container api



commit 16332c6fb83b70be370ddb54b5b05fe5d36f6959
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon May 4 22:40:15 2020 -0400

    treeview: Stop using container api

 gtk/gtktreeview.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 2b3b46441c..1c86c99658 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -13937,8 +13937,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));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]