diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c index 659056c3d5..c2d651b0cf 100644 --- a/gtk/gtktextview.c +++ b/gtk/gtktextview.c @@ -5914,9 +5914,8 @@ paint_border_window (GtkTextView *text_view, w = gdk_window_get_width (window); h = gdk_window_get_height (window); - gtk_cairo_transform_to_window (cr, GTK_WIDGET (text_view), window); - cairo_save (cr); + gtk_cairo_transform_to_window (cr, GTK_WIDGET (text_view), window); gtk_render_background (context, cr, 0, 0, w, h); cairo_restore (cr);