mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-04 17:50:18 +00:00
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:
parent
65b6e92c27
commit
161b063909
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user