[gtk+/gtk-3-2] treeview: fix the build
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-2] treeview: fix the build
- Date: Thu, 17 Nov 2011 00:02:45 +0000 (UTC)
commit 1842b874652d0c8804b607554b9321a8390ea66b
Author: Xan Lopez <xlopez igalia com>
Date: Wed Nov 16 22:41:57 2011 +0100
treeview: fix the build
gtk/gtktreeview.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 7d84651..0305fbe 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -2184,7 +2184,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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]