added a note that calling this function may cause data loss.

2007-04-12  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/display.pdb (display_delete): added a note that
	calling this function may cause data loss.

	* app/pdb/display_cmds.c
	* libgimp/gimpdisplay_pdb.c: regenerated.


svn path=/trunk/; revision=22243
This commit is contained in:
Sven Neumann 2007-04-12 16:32:20 +00:00 committed by Sven Neumann
parent 7a1cdb8bfe
commit 4f6c5c7a24
4 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,11 @@
2007-04-12 Sven Neumann <sven@gimp.org>
* tools/pdbgen/pdb/display.pdb (display_delete): added a note that
calling this function may cause data loss.
* app/pdb/display_cmds.c
* libgimp/gimpdisplay_pdb.c: regenerated.
2007-04-12 Raphaël Quinet <raphael@gimp.org>
* plug-ins/metadata/xmp-parse.c: made the parser more tolerant and

View File

@ -258,7 +258,7 @@ register_display_procs (GimpPDB *pdb)
gimp_procedure_set_static_strings (procedure,
"gimp-display-delete",
"Delete the specified display.",
"This procedure removes the specified display. If this is the last remaining display for the underlying image, then the image is deleted also.",
"This procedure removes the specified display. If this is the last remaining display for the underlying image, then the image is deleted also. Note that the display is closed no matter if the image is dirty or not. Better save the image before calling this procedure.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",

View File

@ -100,7 +100,9 @@ gimp_display_new (gint32 image_ID)
*
* This procedure removes the specified display. If this is the last
* remaining display for the underlying image, then the image is
* deleted also.
* deleted also. Note that the display is closed no matter if the image
* is dirty or not. Better save the image before calling this
* procedure.
*
* Returns: TRUE on success.
*/

View File

@ -92,7 +92,9 @@ sub display_delete {
$help = <<'HELP';
This procedure removes the specified display. If this is the last remaining
display for the underlying image, then the image is deleted also.
display for the underlying image, then the image is deleted also. Note that
the display is closed no matter if the image is dirty or not. Better save
the image before calling this procedure.
HELP
&std_pdb_misc;