libgimpbase: add a #warning to be activated when we move on to GIMP 4.
The name GIMP_METADATA_SAVE_UPDATE does feel a bit ugly but we need to
keep the GIMP_METADATA_SAVE_ prefix, otherwise we would break the GIR
bindings. cf. commit 27fead082a.
Make a warning for ourselves to happen when we are closing onto GIMP 4.
Then we can make a decision whether or not we want to rename this enum
value.
This commit is contained in:
parent
f35cc4693c
commit
8470ec8b10
1 changed files with 6 additions and 0 deletions
|
|
@ -31,6 +31,7 @@
|
|||
#include "libgimpmath/gimpmath.h"
|
||||
|
||||
#include "gimpbasetypes.h"
|
||||
#include "gimpversion.h"
|
||||
|
||||
#include "gimplimits.h"
|
||||
#include "gimpmetadata.h"
|
||||
|
|
@ -39,6 +40,11 @@
|
|||
|
||||
#include "libgimp/libgimp-intl.h"
|
||||
|
||||
|
||||
#if GIMP_CHECK_VERSION(3, 99, 0)
|
||||
#warning libgimpbase/gimpmetadata.h: rename GIMP_METADATA_SAVE_UPDATE as GIMP_METADATA_UPDATE?
|
||||
#endif
|
||||
|
||||
/**
|
||||
* SECTION: gimpmetadata
|
||||
* @title: GimpMetadata
|
||||
|
|
|
|||
Loading…
Reference in a new issue