diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index 505f41b588..21873d775b 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -11965,8 +11965,6 @@ gtk_tree_view_remove_column (GtkTreeView *tree_view, G_CALLBACK (column_sizing_notify), tree_view); - _gtk_tree_view_column_unset_tree_view (column); - position = g_list_index (tree_view->priv->columns, column); tree_view->priv->columns = g_list_remove (tree_view->priv->columns, column); @@ -11994,7 +11992,7 @@ gtk_tree_view_remove_column (GtkTreeView *tree_view, } _gtk_tree_view_reset_header_styles (tree_view); - + _gtk_tree_view_column_unset_tree_view (column); _gtk_tree_view_accessible_remove_column (tree_view, column, position); g_object_unref (column);