mirror of https://github.com/GNOME/gimp.git
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.
This commit is contained in:
parent
57a310ebd6
commit
5a1c4e035d
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue