[dia] DiaPsFt2Render depends on deprecated Pango API



commit f78a7962bc9c56ea1f3b33c36c8e136ea5daf95a
Author: Hans Breuer <hans breuer org>
Date:   Fri Oct 23 13:20:47 2009 +0200

    DiaPsFt2Render depends on deprecated Pango API
    
    Add #undef PANGO_DISABLE_DEPRECATED to avoid building without prototype.

 plug-ins/postscript/diapsft2renderer.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/postscript/diapsft2renderer.c b/plug-ins/postscript/diapsft2renderer.c
index 06675f8..997d518 100644
--- a/plug-ins/postscript/diapsft2renderer.c
+++ b/plug-ins/postscript/diapsft2renderer.c
@@ -25,6 +25,7 @@
 #include "diapsft2renderer.h"
 #include "textline.h"
 
+#undef PANGO_DISABLE_DEPRECATED /* pango_ft2_font_get_face */
 #include <pango/pango.h>
 #include <pango/pangoft2.h>
 #include <pango/pango-engine.h>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]