summaryrefslogtreecommitdiff
path: root/gtk/gtktree.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@src.gnome.org>1998-02-13 05:26:33 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-02-13 05:26:33 +0000
commit041983a77631c4cf0249caa86c91f2f10ca33c64 (patch)
tree9112372189d27b7d0255c2768d1eaa6e372b25ba /gtk/gtktree.c
parent888470ee29e6956efc4122bdb9c24a1af0344079 (diff)
downloadgdk-pixbuf-041983a77631c4cf0249caa86c91f2f10ca33c64.tar.gz
Change style->white to style->base[] where appropriate. Change the default
* gtk/gtkentry.c gtk/gtkinputdialog.c gtk/gtklist.c gtk/gtklistitem.c gtktree.c gtk/gtktreeitem.c testgtkrc: Change style->white to style->base[] where appropriate. Change the default style to make this apparent. (Yes, it's ugly... it can be removed later)
Diffstat (limited to 'gtk/gtktree.c')
-rw-r--r--gtk/gtktree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtktree.c b/gtk/gtktree.c
index bf6daded7..8bc714558 100644
--- a/gtk/gtktree.c
+++ b/gtk/gtktree.c
@@ -615,7 +615,8 @@ gtk_tree_realize (GtkWidget *widget)
gdk_window_set_user_data (widget->window, widget);
widget->style = gtk_style_attach (widget->style, widget->window);
- gdk_window_set_background (widget->window, &widget->style->white);
+ gdk_window_set_background (widget->window,
+ &widget->style->base[GTK_STATE_NORMAL]);
}