[gimp] pygimp: disable deprecation warnings for gimpui.c



commit 5a1c4e035d56935059276fc3cbeec9d83c49e56e
Author: Kristian Rietveld <kris loopnest org>
Date:   Sat Apr 30 21:56:14 2016 +0200

    pygimp: disable deprecation warnings for gimpui.c
    
    gimpui.c is the language binding which is generated from gimpui.defs.
    We need to bind deprecated methods, so please do not disturb us
    with deprecation warnings for this file.

 plug-ins/pygimp/gimpui.override |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/pygimp/gimpui.override b/plug-ins/pygimp/gimpui.override
index 9e5a473..fe42da8 100644
--- a/plug-ins/pygimp/gimpui.override
+++ b/plug-ins/pygimp/gimpui.override
@@ -4,6 +4,7 @@ headers
 #define NO_IMPORT_PYGOBJECT
 #include <pygobject.h>
 
+#define GIMP_DISABLE_DEPRECATION_WARNINGS
 #include <libgimp/gimp.h>
 #undef GIMP_DISABLE_DEPRECATED
 #include <libgimp/gimpui.h>


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