[gimp/gimp-2-8] Bug 686103 - Incorrect gimpfu documentation
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] Bug 686103 - Incorrect gimpfu documentation
- Date: Sun, 14 Oct 2012 19:33:06 +0000 (UTC)
commit 384851f5eaeb8edec636245fd5a60f25cf3671f8
Author: Michael Natterer <mitch gimp org>
Date: Sun Oct 14 21:31:07 2012 +0200
Bug 686103 - Incorrect gimpfu documentation
Add missing "None" default values to PF_IMAGE and PF_DRAWABLE
parameters in the procedure registration example.
(cherry picked from commit e8eaeb606f288ffbf54515bd80bc7c34d1eec919)
plug-ins/pygimp/gimpfu.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/pygimp/gimpfu.py b/plug-ins/pygimp/gimpfu.py
index aa2b09a..ba833c2 100644
--- a/plug-ins/pygimp/gimpfu.py
+++ b/plug-ins/pygimp/gimpfu.py
@@ -46,8 +46,8 @@ A typical gimpfu plug-in would look like this:
"My plug-in",
"*",
[
- (PF_IMAGE, "image", "Input image"),
- (PF_DRAWABLE, "drawable", "Input drawable"),
+ (PF_IMAGE, "image", "Input image", None),
+ (PF_DRAWABLE, "drawable", "Input drawable", None),
(PF_STRING, "arg", "The argument", "default-value")
],
[],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]