Unset expander_column when expander column is removed from tree view

This commit is contained in:
Kristian Rietveld 2009-12-28 21:34:17 +01:00
parent e22de4a88e
commit 436855210e

View File

@ -11177,6 +11177,9 @@ gtk_tree_view_remove_column (GtkTreeView *tree_view,
tree_view->priv->edited_column = NULL;
}
if (tree_view->priv->expander_column == column)
tree_view->priv->expander_column = NULL;
g_signal_handlers_disconnect_by_func (column,
G_CALLBACK (column_sizing_notify),
tree_view);