From d8bac72c49e585ffab56830d607a935ed408b288 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Sat, 24 Nov 2012 14:00:12 -0500 Subject: gtk2: don't forget to chain up if not overriding style This fixes some rendering corruptions in Opera when used with the Adwaita GTK2 theme. https://bugzilla.gnome.org/show_bug.cgi?id=688725 --- themes/Adwaita/gtk-2.0/adwaita_engine.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/themes/Adwaita/gtk-2.0/adwaita_engine.c b/themes/Adwaita/gtk-2.0/adwaita_engine.c index 6b102c1a..5cec5f8d 100644 --- a/themes/Adwaita/gtk-2.0/adwaita_engine.c +++ b/themes/Adwaita/gtk-2.0/adwaita_engine.c @@ -123,6 +123,12 @@ adwaita_draw_box (GtkStyle * style, cairo_destroy (cr); cairo_pattern_destroy (pattern); } + else + { + GTK_STYLE_CLASS (adwaita_style_parent_class)->draw_box (style, window, state_type, shadow_type, + area, widget, detail, + x, y, width, height); + } } static void -- cgit v1.2.1