[gtk-theme-engine-clearlooks] Fix tabs rendering in classic clearlooks.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-theme-engine-clearlooks] Fix tabs rendering in classic clearlooks.
- Date: Fri, 24 Dec 2010 18:25:05 +0000 (UTC)
commit 198d064ab0e0feb3e852a2588ce12200c9c1b22a
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Dec 24 19:05:20 2010 +0100
Fix tabs rendering in classic clearlooks.
clearlooks_draw_frame() was leaving translated coordinates
in the cairo_t.
src/clearlooks_engine.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/clearlooks_engine.c b/src/clearlooks_engine.c
index 2c98b50..077b522 100644
--- a/src/clearlooks_engine.c
+++ b/src/clearlooks_engine.c
@@ -190,6 +190,7 @@ clearlooks_engine_render_frame_gap (GtkThemingEngine *engine,
GE_CAIRO_INIT
+ cairo_save (cr);
clearlooks_lookup_functions (CLEARLOOKS_ENGINE (engine),
&style_functions, NULL);
@@ -293,6 +294,8 @@ clearlooks_engine_render_frame_gap (GtkThemingEngine *engine,
GTK_THEMING_ENGINE_CLASS (clearlooks_engine_parent_class)->render_frame_gap (engine, cr, x, y, width, height,
gap_side, xy0_gap, xy1_gap);
}
+
+ cairo_restore (cr);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]