summaryrefslogtreecommitdiff
path: root/gtk/gtktreeview.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-05-09 10:33:02 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-05-11 12:20:59 -0400
commit025375ff5f244bbf22b9bd932148dfefc3dce82d (patch)
tree0516525f4463778f4c7577d63da6cda2af64486c /gtk/gtktreeview.c
parentcd0081d08ab9abccc3bddc8b597413d17f2af709 (diff)
downloadgtk+-025375ff5f244bbf22b9bd932148dfefc3dce82d.tar.gz
Replace gtk_widget_destroy everywhere
Replace all remaining uses of gtk_widget_destroy by gtk_container_remove or g_object_unref.
Diffstat (limited to 'gtk/gtktreeview.c')
-rw-r--r--gtk/gtktreeview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index efa2c9d712..db96a38965 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -2073,7 +2073,7 @@ gtk_tree_view_free_rbtree (GtkTreeView *tree_view)
static void
gtk_tree_view_destroy_search_popover (GtkTreeView *tree_view)
{
- gtk_widget_destroy (tree_view->search_popover);
+ gtk_widget_unparent (tree_view->search_popover);
tree_view->search_popover = NULL;
tree_view->search_entry = NULL;