call gimp_imagefile_update() on success. Ensures that the previews are

2003-03-28  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimagefile.c (gimp_imagefile_save_thumbnail):
	call gimp_imagefile_update() on success. Ensures that the
	previews are updated whenever we write the thumbnail.
This commit is contained in:
Michael Natterer 2003-03-28 11:27:56 +00:00 committed by Michael Natterer
parent 0d548e0769
commit fec6f5b32b
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2003-03-28 Michael Natterer <mitch@gimp.org>
* app/core/gimpimagefile.c (gimp_imagefile_save_thumbnail):
call gimp_imagefile_update() on success. Ensures that the
previews are updated whenever we write the thumbnail.
2003-03-28 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpcellrenderertoggle.c

View File

@ -535,6 +535,9 @@ gimp_imagefile_save_thumbnail (GimpImagefile *imagefile,
g_free (thumb_name);
if (success)
gimp_imagefile_update (imagefile, thumb_size);
return success;
}