Commit 0cfaeb7a authored by Michael Natterer's avatar Michael Natterer 😴

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

it was duplicated with the GimpPlugIn class section docs.
parent 67a0451a
Pipeline #100565 passed with stages
in 51 minutes and 47 seconds
......@@ -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).
......
......@@ -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;
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment