Revert "treeviewcolumn: Don't leak button"

This reverts commit 2c28c627c1.

See following commits: the real problem is setting priv->button to NULL
soon after this, so this just makes that wrong decision look more right.

https://bugzilla.gnome.org/show_bug.cgi?id=788614
This commit is contained in:
Daniel Boles 2017-10-06 20:40:59 +01:00
parent 65b6e92c27
commit 161b063909

View File

@ -1334,7 +1334,6 @@ _gtk_tree_view_column_unset_tree_view (GtkTreeViewColumn *column)
if (priv->tree_view)
{
gtk_container_remove (GTK_CONTAINER (priv->tree_view), priv->button);
g_clear_object (&priv->button);
}
if (priv->property_changed_signal)
{