[gimp] Issue #6767: sensitivity ALWAYS not working in Python.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Issue #6767: sensitivity ALWAYS not working in Python.
- Date: Thu, 29 Apr 2021 22:31:52 +0000 (UTC)
commit 802c6fe64b5c4428276ef6fd35f5a305d51f57c0
Author: Jehan <jehan girinstud io>
Date: Fri Apr 30 00:23:51 2021 +0200
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).
libgimpbase/gimpbaseenums.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgimpbase/gimpbaseenums.h b/libgimpbase/gimpbaseenums.h
index 3e585391ee..bb6686cb32 100644
--- a/libgimpbase/gimpbaseenums.h
+++ b/libgimpbase/gimpbaseenums.h
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]