]> Pileus Git - ~andy/gtk/commit
treeview: use gtk_tree_view_ensure_background() consistently
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 16 Nov 2011 21:01:36 +0000 (16:01 -0500)
committerCosimo Cecchi <cosimoc@gnome.org>
Wed, 16 Nov 2011 21:09:00 +0000 (16:09 -0500)
commit9986b26c0b157b36972ada513d35b508db3db963
tree1ee546b4e46163ef8ea76be91f5b4006ac21ac9d
parent8d97d8ca3c5c5c84caa450e7ba09c974177e25eb
treeview: use gtk_tree_view_ensure_background() consistently

In gtk_tree_view_state_flags_changed() we were setting the background on
the bin_window without the necessary "view" style class, making the
treeview render with the wrong color in some circumstances (such as when
adding an empty treeview in a window, as spotted by Brian Smith).
gtk/gtktreeview.c