summaryrefslogtreecommitdiff
path: root/gtk/gtktreeviewcolumn.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-05-05 07:27:04 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-05-11 20:33:23 -0400
commit3697c57e561660075256b0790e710f5d8f4a386d (patch)
tree0b7afe4730d6ffb5cbed0c7e71ade3703c2ba90e /gtk/gtktreeviewcolumn.c
parent52b1a347d8f86551669946244a3521caff332eb3 (diff)
downloadgtk+-3697c57e561660075256b0790e710f5d8f4a386d.tar.gz
treeview: Derive from GtkWidget
Drop the GtkContainer vfuncs.
Diffstat (limited to 'gtk/gtktreeviewcolumn.c')
-rw-r--r--gtk/gtktreeviewcolumn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktreeviewcolumn.c b/gtk/gtktreeviewcolumn.c
index a9165d4d2b..00f7280027 100644
--- a/gtk/gtktreeviewcolumn.c
+++ b/gtk/gtktreeviewcolumn.c
@@ -1344,7 +1344,7 @@ _gtk_tree_view_column_unset_tree_view (GtkTreeViewColumn *column)
if (priv->tree_view == NULL)
return;
- gtk_container_remove (GTK_CONTAINER (priv->tree_view), priv->button);
+ gtk_widget_unparent (priv->button);
if (priv->property_changed_signal)
{