summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-11-24 14:00:12 -0500
committerCosimo Cecchi <cosimoc@gnome.org>2012-11-24 14:00:12 -0500
commitd8bac72c49e585ffab56830d607a935ed408b288 (patch)
treea8a13ac8735c7d764d17eb3da0280ca7be699088
parent49219d0fd09fe41cf883812e14160925e6c1e233 (diff)
downloadgnome-themes-standard-d8bac72c49e585ffab56830d607a935ed408b288.tar.gz
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
-rw-r--r--themes/Adwaita/gtk-2.0/adwaita_engine.c6
1 files changed, 6 insertions, 0 deletions
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