From de89fe501d9c38fce1172bdef7317c4a551a397d Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 28 Sep 2010 18:26:05 +0200 Subject: [PATCH] treeview: Fix compilation warnings - missing cast --- gtk/gtktreeview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index 75821fe946..2923fe9eac 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -11715,7 +11715,7 @@ gtk_tree_view_scroll_to_cell (GtkTreeView *tree_view, */ if (!gtk_widget_get_visible (GTK_WIDGET (tree_view)) || !gtk_widget_get_realized (GTK_WIDGET (tree_view)) || - _gtk_widget_get_alloc_needed (tree_view) || + _gtk_widget_get_alloc_needed (GTK_WIDGET (tree_view)) || GTK_RBNODE_FLAG_SET (tree_view->priv->tree->root, GTK_RBNODE_DESCENDANTS_INVALID)) { if (tree_view->priv->scroll_to_path)