[gtk+] GtkThemingEngine: Render tabs background in the correct direction.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkThemingEngine: Render tabs background in the correct direction.
- Date: Mon, 13 Dec 2010 21:34:09 +0000 (UTC)
commit d80868aa68ce8e0f4e96549fe62aa475d0c4535b
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Dec 13 12:38:37 2010 +0100
GtkThemingEngine: Render tabs background in the correct direction.
The cairo context has been already rotated, so using GTK_JUNCTION_BOTTOM
is expected to be used there.
gtk/gtkthemingengine.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkthemingengine.c b/gtk/gtkthemingengine.c
index be50e9e..e3cde59 100644
--- a/gtk/gtkthemingengine.c
+++ b/gtk/gtkthemingengine.c
@@ -2506,12 +2506,11 @@ gtk_theming_engine_render_extension (GtkThemingEngine *engine,
gap_side == GTK_POS_BOTTOM)
render_background_internal (engine, cr,
0, 0, width, height,
- junction);
+ GTK_JUNCTION_BOTTOM);
else
render_background_internal (engine, cr,
0, 0, height, width,
- junction);
-
+ GTK_JUNCTION_BOTTOM);
cairo_restore (cr);
cairo_save (cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]