[gtk/kill-containers: 13/51] treeview: Stop using container api
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/kill-containers: 13/51] treeview: Stop using container api
- Date: Fri, 8 May 2020 13:39:48 +0000 (UTC)
commit 0199925a35c4572bcf9ae6d4203f92b58f451f8f
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]