Doc that gimp-display-new gives execution error if no GIMP GUI.

This commit is contained in:
Ed J 2014-05-27 00:55:36 +01:00
parent d36bc86292
commit 345bf01c01
3 changed files with 5 additions and 3 deletions

View File

@ -243,7 +243,7 @@ register_display_procs (GimpPDB *pdb)
gimp_procedure_set_static_strings (procedure,
"gimp-display-new",
"Create a new display for the specified image.",
"Creates a new display for the specified image. If the image already has a display, another is added. Multiple displays are handled transparently by GIMP. The newly created display is returned and can be subsequently destroyed with a call to 'gimp-display-delete'. This procedure only makes sense for use with the GIMP UI.",
"Creates a new display for the specified image. If the image already has a display, another is added. Multiple displays are handled transparently by GIMP. The newly created display is returned and can be subsequently destroyed with a call to 'gimp-display-delete'. This procedure only makes sense for use with the GIMP UI, and will result in an execution error if called when GIMP has no UI.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",

View File

@ -77,7 +77,8 @@ gimp_display_is_valid (gint32 display_ID)
* has a display, another is added. Multiple displays are handled
* transparently by GIMP. The newly created display is returned and can
* be subsequently destroyed with a call to gimp_display_delete(). This
* procedure only makes sense for use with the GIMP UI.
* procedure only makes sense for use with the GIMP UI, and will result
* in an execution error if called when GIMP has no UI.
*
* Returns: The new display.
**/

View File

@ -53,7 +53,8 @@ Creates a new display for the specified image. If the image already has a
display, another is added. Multiple displays are handled transparently by
GIMP. The newly created display is returned and can be subsequently destroyed
with a call to gimp_display_delete(). This procedure only makes sense for use
with the GIMP UI.
with the GIMP UI, and will result in an execution error if called when
GIMP has no UI.
HELP
&std_pdb_misc;