[gimp] pygimp: fix building with deprecated GimpUnitMenu



commit b07eed8208d66d60e34cff9253529b59ef755ce4
Author: Nils Philippsen <nils redhat com>
Date:   Fri Oct 15 17:19:00 2010 +0200

    pygimp: fix building with deprecated GimpUnitMenu

 plug-ins/pygimp/gimpui.override |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/pygimp/gimpui.override b/plug-ins/pygimp/gimpui.override
index b52119b..c7f5751 100644
--- a/plug-ins/pygimp/gimpui.override
+++ b/plug-ins/pygimp/gimpui.override
@@ -5,7 +5,9 @@ headers
 #include <pygobject.h>
 
 #include <libgimp/gimp.h>
+#undef GIMP_DISABLE_DEPRECATED
 #include <libgimp/gimpui.h>
+#define GIMP_DISABLE_DEPRECATED
 
 #define NO_IMPORT_PYGIMP
 #include "pygimp-api.h"



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