Bug 686103 - Incorrect gimpfu documentation

Add missing "None" default values to PF_IMAGE and PF_DRAWABLE
parameters in the procedure registration example.
This commit is contained in:
Michael Natterer 2012-10-14 21:31:07 +02:00
parent 85445c88c3
commit e8eaeb606f

View file

@ -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")
],
[],