summaryrefslogtreecommitdiff
path: root/pango-view
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2012-11-07 10:58:40 -0800
committerBehdad Esfahbod <behdad@behdad.org>2012-11-07 10:59:52 -0800
commitfc31c06d5623653defdfde33ebbab44f9e5e89d0 (patch)
tree6ef37b588053489aaf119a4211c91fd50612e3e6 /pango-view
parent8c1752d5e58616ca3013bd7bf5941d8025f0d975 (diff)
downloadpango-fc31c06d5623653defdfde33ebbab44f9e5e89d0.tar.gz
Flush cairo surface when done
Diffstat (limited to 'pango-view')
-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