From e8eaeb606f288ffbf54515bd80bc7c34d1eec919 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Sun, 14 Oct 2012 21:31:07 +0200 Subject: [PATCH] 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 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plug-ins/pygimp/gimpfu.py b/plug-ins/pygimp/gimpfu.py index aa2b09ad91..ba833c2581 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") ], [],