pdb: clean out \n from procedure descriptions in previous commit a7f1129.

If we want better output for long description, this will have to be implemented
in the pdbgen.
This commit is contained in:
Jehan 2013-09-14 02:58:39 +12:00
parent a7f11290a4
commit 8fe1f65374
3 changed files with 18 additions and 14 deletions

View File

@ -370,7 +370,7 @@ register_channel_procs (GimpPDB *pdb)
gimp_procedure_set_static_strings (procedure,
"gimp-channel-new",
"Create a new channel.",
"This procedure creates a new channel with the specified width, height, name, opacity and color. \n\nThe new channel still needs to be added to the image, as this is not automatic. Add the new channel with 'gimp-image-insert-channel'. Other attributes, such as channel visibility, should be set with explicit procedure calls. \nThe channel's contents are undefined initially.",
"This procedure creates a new channel with the specified width, height, name, opacity and color. The new channel still needs to be added to the image, as this is not automatic. Add the new channel with 'gimp-image-insert-channel'. Other attributes, such as channel visibility, should be set with explicit procedure calls. The channel's contents are undefined initially.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -431,7 +431,7 @@ register_channel_procs (GimpPDB *pdb)
gimp_procedure_set_static_strings (procedure,
"gimp-channel-new-from-component",
"Create a new channel from a color component",
"This procedure creates a new channel from a color component. \n\nThe new channel still needs to be added to the image, as this is not automatic. Add the new channel with 'gimp-image-insert-channel'. Other attributes, such as channel visibility, should be set with explicit procedure calls.",
"This procedure creates a new channel from a color component. The new channel still needs to be added to the image, as this is not automatic. Add the new channel with 'gimp-image-insert-channel'. Other attributes, such as channel visibility, should be set with explicit procedure calls.",
"Shlomi Fish <shlomif@iglu.org.il>",
"Shlomi Fish",
"2005",
@ -474,7 +474,7 @@ register_channel_procs (GimpPDB *pdb)
gimp_procedure_set_static_strings (procedure,
"gimp-channel-copy",
"Copy a channel.",
"This procedure copies the specified channel and returns the copy. \n\nThe new channel still needs to be added to the image, as this is not automatic. Add the new channel with 'gimp-image-insert-channel'.",
"This procedure copies the specified channel and returns the copy. The new channel still needs to be added to the image, as this is not automatic. Add the new channel with 'gimp-image-insert-channel'.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",

View File

@ -46,10 +46,10 @@
* Create a new channel.
*
* This procedure creates a new channel with the specified width,
* height, name, opacity and color. \n\nThe new channel still needs to
* be added to the image, as this is not automatic. Add the new channel
* height, name, opacity and color. The new channel still needs to be
* added to the image, as this is not automatic. Add the new channel
* with gimp_image_insert_channel(). Other attributes, such as channel
* visibility, should be set with explicit procedure calls. \nThe
* visibility, should be set with explicit procedure calls. The
* channel's contents are undefined initially.
*
* Returns: The newly created channel.
@ -92,8 +92,8 @@ _gimp_channel_new (gint32 image_ID,
*
* Create a new channel from a color component
*
* This procedure creates a new channel from a color component. \n\nThe
* new channel still needs to be added to the image, as this is not
* This procedure creates a new channel from a color component. The new
* channel still needs to be added to the image, as this is not
* automatic. Add the new channel with gimp_image_insert_channel().
* Other attributes, such as channel visibility, should be set with
* explicit procedure calls.
@ -133,8 +133,8 @@ gimp_channel_new_from_component (gint32 image_ID,
* Copy a channel.
*
* This procedure copies the specified channel and returns the copy.
* \n\nThe new channel still needs to be added to the image, as this is
* not automatic. Add the new channel with gimp_image_insert_channel().
* The new channel still needs to be added to the image, as this is not
* automatic. Add the new channel with gimp_image_insert_channel().
*
* Returns: The newly copied channel.
**/

View File

@ -22,11 +22,13 @@ sub channel_new {
$help = <<'HELP';
This procedure creates a new channel with the specified width, height,
name, opacity and color.
\n\nThe new channel still needs to be added to the image, as this is not
The new channel still needs to be added to the image, as this is not
automatic. Add the new channel with gimp_image_insert_channel(). Other
attributes, such as channel visibility, should be set with explicit
procedure calls.
\nThe channel's contents are undefined initially.
The channel's contents are undefined initially.
HELP
&std_pdb_misc;
@ -72,7 +74,8 @@ sub channel_copy {
$help = <<'HELP';
This procedure copies the specified channel and returns the copy.
\n\nThe new channel still needs to be added to the image, as this is not
The new channel still needs to be added to the image, as this is not
automatic. Add the new channel with gimp_image_insert_channel().
HELP
@ -142,7 +145,8 @@ sub channel_new_from_component {
$help = <<'HELP';
This procedure creates a new channel from a color component.
\n\nThe new channel still needs to be added to the image, as this is not
The new channel still needs to be added to the image, as this is not
automatic. Add the new channel with gimp_image_insert_channel(). Other
attributes, such as channel visibility, should be set with explicit
procedure calls.