diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index 9f5f4202aa..5d7541271d 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -6525,8 +6525,7 @@ gtk_tree_view_dy_to_top_row (GtkTreeView *tree_view) if (tree == NULL) { - tree_view->priv->top_row = NULL; - tree_view->priv->top_row_dy = 0; + gtk_tree_view_set_top_row (tree_view, NULL, 0); } else {