This is an automated email from the git hooks/post-receive script.

peter pushed a commit to branch peter/refresh-gtk2
in repository xfce/gtk-xfce-engine.

commit f23358109325bc9644a9ac7e61ff8b4eb3a9a502
Author: Peter de Ridder <pe...@xfce.org>
Date:   Thu Jan 9 22:11:32 2014 +0100

    Use parent style for retrieving the background.
---
 src/xfce_theme_draw.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xfce_theme_draw.c b/src/xfce_theme_draw.c
index b1eff5b..4226d25 100644
--- a/src/xfce_theme_draw.c
+++ b/src/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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to