pdb: remove the section docs for the plug-in group

it was duplicated with the GimpPlugIn class section docs.
This commit is contained in:
Michael Natterer 2019-08-01 16:06:54 +02:00
parent 67a0451ac5
commit 0cfaeb7a90
3 changed files with 6 additions and 16 deletions

View File

@ -24,17 +24,6 @@
#include "gimp.h"
/**
* SECTION: gimpplugin
* @title: gimpplugin
* @short_description: Functions useful for plug-ins, e.g. registration and progress indicators.
*
* Functions useful for plug-ins, e.g. registration and progress
* indicators.
**/
/**
* _gimp_plugin_domain_register:
* @domain_name: The name of the textdomain (must be unique).

View File

@ -376,8 +376,5 @@ CODE
%exports = (app => [@procs], lib => [@procs[1,2,3,4,5,6,7]]);
$desc = 'Plug-in';
$doc_title = 'gimpplugin';
$doc_short_desc = 'Functions useful for plug-ins, e.g. registration and progress indicators.';
$doc_long_desc = 'Functions useful for plug-ins, e.g. registration and progress indicators.';
1;

View File

@ -707,8 +707,10 @@ HEADER
print CFILE qq/#include "config.h"\n\n/;
print CFILE $out->{headers}, "\n" if exists $out->{headers};
print CFILE qq/#include "gimp.h"\n/;
$long_desc = &desc_wrap($main::grp{$group}->{doc_long_desc});
print CFILE <<SECTION_DOCS;
if (exists $main::grp{$group}->{doc_title}) {
$long_desc = &desc_wrap($main::grp{$group}->{doc_long_desc});
print CFILE <<SECTION_DOCS;
/**
@ -720,6 +722,8 @@ ${long_desc}
**/
SECTION_DOCS
}
print CFILE "\n", $extra->{code} if exists $extra->{code};
print CFILE $out->{code};
close CFILE;