summaryrefslogtreecommitdiff
path: root/pango-view/viewer-pangocairo.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango-view/viewer-pangocairo.c')
-rw-r--r--pango-view/viewer-pangocairo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pango-view/viewer-pangocairo.c b/pango-view/viewer-pangocairo.c
index 3d19668e..3e893207 100644
--- a/pango-view/viewer-pangocairo.c
+++ b/pango-view/viewer-pangocairo.c
@@ -276,6 +276,8 @@ render_callback (PangoLayout *layout,
pango_cairo_show_layout (cr, layout);
cairo_restore (cr);
+
+ cairo_surface_flush (cairo_get_target (cr));
}
static void