summaryrefslogtreecommitdiff
path: root/pango-view
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-03-15 13:16:50 -0400
committerBehdad Esfahbod <behdad@behdad.org>2009-03-15 13:16:50 -0400
commita4e47759bab59ce5b71a316dc4075c27eeece1e4 (patch)
tree4c3568a4300f85a3134724e57044f1df5aae6f6c /pango-view
parenta08cd2843ea38b142d375a15a08520c8758cd4ba (diff)
downloadpango-a4e47759bab59ce5b71a316dc4075c27eeece1e4.tar.gz
[pango-view] Make the cairo backend save png natively
Diffstat (limited to 'pango-view')
-rw-r--r--pango-view/viewer-pangocairo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pango-view/viewer-pangocairo.c b/pango-view/viewer-pangocairo.c
index 84756279..f8145f7c 100644
--- a/pango-view/viewer-pangocairo.c
+++ b/pango-view/viewer-pangocairo.c
@@ -401,7 +401,11 @@ pangocairo_view_display (gpointer instance,
const PangoViewer pangocairo_viewer = {
"PangoCairo",
"cairo",
+#ifdef HAVE_CAIRO_PNG
+ "png",
+#else
NULL,
+#endif
pangocairo_view_create,
pangocairo_view_destroy,
pangocairo_view_get_context,