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.
This commit is contained in:
Carlos Garnacho 2010-12-13 12:38:37 +01:00
parent 2371ed8b87
commit d80868aa68

View File

@ -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);