treeview: fix the build

This commit is contained in:
Xan Lopez 2011-11-16 22:41:57 +01:00
parent 9986b26c0b
commit 2c065d716b

View File

@ -2185,7 +2185,7 @@ gtk_tree_view_ensure_background (GtkTreeView *tree_view)
{
GtkStyleContext *context;
context = gtk_widget_get_style_context (widget);
context = gtk_widget_get_style_context (GTK_WIDGET (tree_view));
gtk_style_context_save (context);
gtk_style_context_add_class (context, GTK_STYLE_CLASS_VIEW);