summaryrefslogtreecommitdiff
path: root/pango-view
diff options
context:
space:
mode:
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,