added some sanity checks to temp_buf conversion routines.

2003-05-15  Sven Neumann  <sven@gimp.org>

	* app/base/temp-buf.c: added some sanity checks to temp_buf
	conversion routines.

	* tools/pdbgen/pdb/fileops.pdb (file_load_thumbnail_invoker): use
	GimpImagefile to load a thumbnail. Only works for RGB images yet.
	This adresses bug #113033.

	* app/pdb/fileops_cmds.c: regenerated.

	* app/file/file-utils.[ch]: removed file_utils_readXVThumb(). It
	is not needed any longer since GimpImagefile also handles the
	old-style .xvpics.

	* plug-ins/script-fu/scripts/copy-visible.scm: fixed typo.
This commit is contained in:
Sven Neumann
2003-05-15 13:33:30 +00:00
committed by Sven Neumann
parent 71a578fc30
commit 929fef0d57
9 changed files with 185 additions and 211 deletions

View File

@ -49,7 +49,8 @@
; merge all visible layers
(if (> num-visi-layers 1)
(set! merged-layer (car (gimp-image-merge-visible-layers image EXPAND-AS-NECESSARY)))
(set! merged-layer (car (gimp-image-merge-visible-layers image
EXPAND-AS-NECESSARY)))
(if (> num-visi-layers 0)
(set! merged-layer copy)))
@ -72,10 +73,10 @@
(script-fu-register "script-fu-copy-visible"
_"<Image>/Edit/Copy Visible"
"Copy the visible selction"
"Copy the visible selection"
"Sven Neumann <sven@gimp.org>, Adrian Likins <adrian@gimp.org>"
"Sven Neumann, Adrian Likins"
"01/24/1998"
"RGB* INDEXED* GRAY*"
SF-IMAGE "Image" 0
SF-IMAGE "Image" 0
SF-DRAWABLE "Drawable" 0)