summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk-2.0/xfce_theme_draw.c2
1 files changed, 1 insertions, 1 deletions
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