treeviewcolumn: Don't leak button

We g_object_ref_sink the button in _create_button, so we need to unref
it ourselves.
This commit is contained in:
Timm Bäder 2017-10-06 17:23:34 +02:00
parent d292ebc7bd
commit 2c28c627c1

View File

@ -1336,6 +1336,7 @@ _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)
{