[gimp] plug-ins: fix python compat names for the GIMP_FILL_* enum values
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: fix python compat names for the GIMP_FILL_* enum values
- Date: Wed, 12 Nov 2014 21:06:11 +0000 (UTC)
commit 1cabefae7cc84531f8d22589a0cb45fe7d4960a1
Author: Michael Natterer <mitch gimp org>
Date: Wed Nov 12 22:05:31 2014 +0100
plug-ins: fix python compat names for the GIMP_FILL_* enum values
plug-ins/pygimp/gimpenumsmodule.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/plug-ins/pygimp/gimpenumsmodule.c b/plug-ins/pygimp/gimpenumsmodule.c
index f87dd74..fbc6914 100644
--- a/plug-ins/pygimp/gimpenumsmodule.c
+++ b/plug-ins/pygimp/gimpenumsmodule.c
@@ -130,15 +130,15 @@ add_compat_enums(PyObject *m)
PyModule_AddIntConstant(m, "PATTERN_CLONE",
GIMP_CLONE_PATTERN);
- PyModule_AddIntConstant(m, "FOREGROUND-FILL",
+ PyModule_AddIntConstant(m, "FOREGROUND_FILL",
GIMP_FILL_FOREGROUND);
- PyModule_AddIntConstant(m, "BACKGROUND-FILL",
+ PyModule_AddIntConstant(m, "BACKGROUND_FILL",
GIMP_FILL_BACKGROUND);
- PyModule_AddIntConstant(m, "WHITE-FILL",
+ PyModule_AddIntConstant(m, "WHITE_FILL",
GIMP_FILL_WHITE);
- PyModule_AddIntConstant(m, "TRANSPARENT-FILL",
+ PyModule_AddIntConstant(m, "TRANSPARENT_FILL",
GIMP_FILL_TRANSPARENT);
- PyModule_AddIntConstant(m, "PATTERN-FILL",
+ PyModule_AddIntConstant(m, "PATTERN_FILL",
GIMP_FILL_PATTERN);
PyModule_AddIntConstant(m, "DODGE",
@@ -152,7 +152,7 @@ add_compat_enums(PyObject *m)
GIMP_TRANSFER_MIDTONES);
PyModule_AddIntConstant(m, "HIGHLIGHTS",
GIMP_TRANSFER_HIGHLIGHTS);
-
+
PyModule_AddIntConstant(m, "EXPORT_CAN_HANDLE_RGB",
GIMP_EXPORT_CAN_HANDLE_RGB);
PyModule_AddIntConstant(m, "EXPORT_CAN_HANDLE_GRAY",
@@ -171,7 +171,7 @@ add_compat_enums(PyObject *m)
GIMP_EXPORT_CAN_HANDLE_LAYER_MASKS);
PyModule_AddIntConstant(m, "EXPORT_NEEDS_ALPHA",
GIMP_EXPORT_NEEDS_ALPHA);
-
+
PyModule_AddIntConstant(m, "EXPORT_CANCEL",
GIMP_EXPORT_CANCEL);
PyModule_AddIntConstant(m, "EXPORT_IGNORE",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]