From d6b3b9bb981666419d0611210afc1e312c4f0606 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Thu, 26 Apr 2007 14:58:56 +0000 Subject: [PATCH] document the image_types parameter (bug #326988). 2007-04-26 Sven Neumann * libgimp/gimp.c: document the image_types parameter (bug #326988). svn path=/trunk/; revision=22346 --- ChangeLog | 4 ++++ libgimp/gimp.c | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index c1512525df..d229849dda 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-04-26 Sven Neumann + + * libgimp/gimp.c: document the image_types parameter (bug #326988). + 2007-04-26 Sven Neumann * app/paint-funcs/paint-funcs.c (gaussian_blur_region) diff --git a/libgimp/gimp.c b/libgimp/gimp.c index 8d15eb8035..5530b8df2b 100644 --- a/libgimp/gimp.c +++ b/libgimp/gimp.c @@ -517,6 +517,12 @@ gimp_quit (void) * this case, the given @menu_label will only be used as the * procedure's user-visible name in the keyboard shortcut editor. * + * @image_types is a comma separated list of image types, or actually + * drawable types, that this procedure can deal with. Wildcards are + * possible here, so you could say "RGB*" instead of "RGB, RGBA" or + * "*" for all image types. If the procedure doesn't need an image to + * run, use the empty string. + * * @type must be one of #GIMP_PLUGIN or #GIMP_EXTENSION. Note that * temporary procedures must be installed using * gimp_install_temp_proc().