[gnome-themes-standard/gnome-3-6] gtk2: don't forget to chain up if not overriding style
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard/gnome-3-6] gtk2: don't forget to chain up if not overriding style
- Date: Sat, 24 Nov 2012 19:04:15 +0000 (UTC)
commit e1f5645755f953f82d62f8c5f80c54477b5df99e
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sat Nov 24 14:00:12 2012 -0500
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 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 6b102c1..5cec5f8 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]