[pango: 15/16] [pango-view] Make the cairo backend save png nativ
- From: Behdad Esfahbod <behdad src gnome org>
- To: svn-commits-list gnome org
- Subject: [pango: 15/16] [pango-view] Make the cairo backend save png nativ
- Date: Sun, 15 Mar 2009 15:39:37 -0400 (EDT)
commit a4e47759bab59ce5b71a316dc4075c27eeece1e4
Author: Behdad Esfahbod <behdad behdad org>
Date: Sun Mar 15 13:16:50 2009 -0400
[pango-view] Make the cairo backend save png natively
---
pango-view/viewer-pangocairo.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/pango-view/viewer-pangocairo.c b/pango-view/viewer-pangocairo.c
index 8475627..f8145f7 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]