added some safety checks.
2001-11-13 Sven Neumann <sven@gimp.org> * app/base/temp-buf.c: added some safety checks. * app/widgets/Makefile.am * app/widgets/widgets-types.h * app/widgets/gimpimagefilepreview.[ch]: a new class implementing special GimpPreview methods for GimpImagefile. * app/core/gimpimagefile.c: added code to load thumbnails according to the proposed Thumbnail Managing Standard (see http://triq.net/~pearl/thumbnail-spec/). Pretty much untested. * app/widgets/gimpcontainerview-utils.c: plugged a memleak. * app/widgets/gimpimagepreview.c: simplified. * app/widgets/gimppreview.c: tell it about GimpImagefilePreview.
This commit is contained in:

committed by
Sven Neumann

parent
d247c068bb
commit
bc5011e4e5
@ -184,13 +184,7 @@ gimp_image_preview_render (GimpPreview *preview)
|
||||
|
||||
temp_buf_free (render_buf);
|
||||
|
||||
gimp_preview_render_and_flush (preview,
|
||||
temp_buf,
|
||||
GIMP_IMAGE_PREVIEW (preview)->channel);
|
||||
|
||||
temp_buf_free (temp_buf);
|
||||
|
||||
return;
|
||||
render_buf = temp_buf;
|
||||
}
|
||||
|
||||
gimp_preview_render_and_flush (preview,
|
||||
|
Reference in New Issue
Block a user