[dia] Undef PANGO_DISABLE_DEPRECATED for pango_ft2_get_context



commit 9db37994e82e0ab85417c4fa1886840857fbb7c1
Author: Hans Breuer <hans breuer org>
Date:   Sun Nov 8 15:34:58 2009 +0100

    Undef PANGO_DISABLE_DEPRECATED for pango_ft2_get_context
    
    One day we should get rid of either direct freetype usage or the libart
    plug-in or both ;)

 plug-ins/libart/dialibartrenderer.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/libart/dialibartrenderer.c b/plug-ins/libart/dialibartrenderer.c
index 7a6bc08..6307803 100644
--- a/plug-ins/libart/dialibartrenderer.c
+++ b/plug-ins/libart/dialibartrenderer.c
@@ -35,6 +35,7 @@
 
 #ifdef HAVE_FREETYPE
 #include <pango/pango.h>
+#undef PANGO_DISABLE_DEPRECATED /* pango_ft2_get_context */
 #include <pango/pangoft2.h>
 #elif defined G_OS_WIN32
 /* ugly namespace clashes */



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