From 8c34d1b897fd622b8dc52234030ece763c33f142 Mon Sep 17 00:00:00 2001 From: Peter de Ridder Date: Thu, 9 Jan 2014 22:11:32 +0100 Subject: Use parent style for retrieving the background. --- gtk-2.0/xfce_theme_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk-2.0/xfce_theme_draw.c b/gtk-2.0/xfce_theme_draw.c index b1eff5b..4226d25 100644 --- a/gtk-2.0/xfce_theme_draw.c +++ b/gtk-2.0/xfce_theme_draw.c @@ -400,7 +400,7 @@ static void draw_shadow(GtkStyle * style, GdkWindow * window, GtkStateType state /* Get the background color from the parent widget. * This makes a nicer corner if the background colors differ. */ - pstyle = gtk_widget_get_style(widget); + pstyle = gtk_widget_get_style(parent); pbg = &pstyle->bg[gtk_widget_get_state(parent)]; } else -- cgit v1.2.1