[gimp] Bug 686103 - Incorrect gimpfu documentation



commit e8eaeb606f288ffbf54515bd80bc7c34d1eec919
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.

 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]