Issue #6767: sensitivity ALWAYS not working in Python.

The hexadecimal int doesn't work for some reason, so I just set G_MAXINT
as enum are integers in C (though the sign bit won't be 1 in such case).
This commit is contained in:
Jehan 2021-04-30 00:23:51 +02:00
parent 3ce0e66321
commit 802c6fe64b

View file

@ -957,7 +957,7 @@ typedef enum /*< pdb-skip >*/
GIMP_PROCEDURE_SENSITIVE_DRAWABLES = 1 << 2,
GIMP_PROCEDURE_SENSITIVE_NO_DRAWABLES = 1 << 3,
GIMP_PROCEDURE_SENSITIVE_NO_IMAGE = 1 << 4,
GIMP_PROCEDURE_SENSITIVE_ALWAYS = 0xFFFFFFFF
GIMP_PROCEDURE_SENSITIVE_ALWAYS = G_MAXINT
} GimpProcedureSensitivityMask;