summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-02-25 15:47:17 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-02-25 17:06:16 +0000
commit3594c9ce1c94dfc52b9efe526a88baa79ea4b3e9 (patch)
tree9847863572902a3e5090c14735a15d445f603872 /vcl
parenta785df6a5f9ad327210f51163129ef8b59c3af29 (diff)
presumably destroy flushes
Change-Id: Ibf176df1e54138480030086abad0d045d27f19d1
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
index 3e67f0d48405..e23f10318a24 100644
--- a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
@@ -959,7 +959,6 @@ bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, co
break;
}
- cairo_surface_flush(surface); //remove in a bit
cairo_destroy(cr); // unref
renderAreaToPix(surface, &translatedRegion);
cairo_surface_destroy(surface); // unref
@@ -992,7 +991,6 @@ void GtkSalGraphics::renderAreaToPix( cairo_surface_t *source,
cairo_rectangle( cr, ax, ay, awidth, aheight );
cairo_fill( cr );
cairo_destroy(cr);
- cairo_surface_flush(target);
cairo_surface_destroy(target);
if ( !mpFrame->isDuringRender() )