diff --git a/libgimp/gimpimage_pdb.c b/libgimp/gimpimage_pdb.c index 704a81b9c8..5d3d5ffddd 100644 --- a/libgimp/gimpimage_pdb.c +++ b/libgimp/gimpimage_pdb.c @@ -75,7 +75,7 @@ gimp_image_id_is_valid (gint image_id) } /** - * gimp_get_images: + * gimp_get_images: (skip) * @num_images: (out): The number of images currently open. * * Returns the list of images currently open. @@ -463,7 +463,7 @@ gimp_image_get_height (GimpImage *image) } /** - * gimp_image_get_layers: + * gimp_image_get_layers: (skip) * @image: The image. * @num_layers: (out): The number of root layers contained in the image. * @@ -513,7 +513,7 @@ gimp_image_get_layers (GimpImage *image, } /** - * gimp_image_get_channels: + * gimp_image_get_channels: (skip) * @image: The image. * @num_channels: (out): The number of channels contained in the image. * @@ -560,7 +560,7 @@ gimp_image_get_channels (GimpImage *image, } /** - * gimp_image_get_vectors: + * gimp_image_get_vectors: (skip) * @image: The image. * @num_vectors: (out): The number of vectors contained in the image. * @@ -2306,7 +2306,7 @@ gimp_image_set_active_vectors (GimpImage *image, } /** - * gimp_image_get_selected_layers: + * gimp_image_get_selected_layers: (skip) * @image: The image. * @num_layers: (out): The number of selected layers in the image. * diff --git a/libgimp/gimpitem_pdb.c b/libgimp/gimpitem_pdb.c index c87fe9cdae..76dc470aa5 100644 --- a/libgimp/gimpitem_pdb.c +++ b/libgimp/gimpitem_pdb.c @@ -476,7 +476,7 @@ gimp_item_get_parent (GimpItem *item) } /** - * gimp_item_get_children: + * gimp_item_get_children: (skip) * @item: The item. * @num_children: (out): The item's number of children. * diff --git a/pdb/groups/image.pdb b/pdb/groups/image.pdb index f479c474a0..328cd2b24c 100644 --- a/pdb/groups/image.pdb +++ b/pdb/groups/image.pdb @@ -54,6 +54,8 @@ HELP &std_pdb_misc; + $skip_gi = 1; + @outargs = ( { name => 'images', type => 'imagearray', desc => 'The list of images currently open.', @@ -254,6 +256,8 @@ HELP &std_pdb_misc; + $skip_gi = 1; + @inargs = ( { name => 'image', type => 'image', desc => 'The image' } @@ -299,6 +303,8 @@ HELP &std_pdb_misc; + $skip_gi = 1; + @inargs = ( { name => 'image', type => 'image', desc => 'The image' } @@ -341,6 +347,8 @@ HELP &simon_pdb_misc('2005', '2.4'); + $skip_gi = 1; + @inargs = ( { name => 'image', type => 'image', desc => 'The image' } @@ -1833,6 +1841,8 @@ HELP &jehan_pdb_misc('2020', '3.0.0'); + $skip_gi = 1; + @inargs = ( { name => 'image', type => 'image', desc => 'The image' } diff --git a/pdb/groups/item.pdb b/pdb/groups/item.pdb index aac3c20f77..1ecb3809e3 100644 --- a/pdb/groups/item.pdb +++ b/pdb/groups/item.pdb @@ -400,6 +400,8 @@ HELP &mitch_pdb_misc('2010', '2.8'); + $skip_gi = 1; + @inargs = ( { name => 'item', type => 'item', desc => 'The item' } diff --git a/pdb/lib.pl b/pdb/lib.pl index 9bca67ea0d..ac924e2358 100644 --- a/pdb/lib.pl +++ b/pdb/lib.pl @@ -87,6 +87,11 @@ sub generate_fun { $wrapped = '_'; } + $skip_gi = ''; + if ($proc->{skip_gi}) { + $skip_gi = ' (skip)'; + } + if ($proc->{deprecated}) { if ($proc->{deprecated} eq 'NONE') { push @{$out->{protos}}, "GIMP_DEPRECATED\n"; @@ -514,7 +519,7 @@ CODE return <