gimp/app/file
Mukund Sivaraman 7d083ce457 app: Don't overload head_size with different meanings
The code in file_procedure_find() tries to lazy-open the image file, so
it's not opened if unnecessary. To keep track of whether the image was
opened or not, it overrides head_size to keep track of this. head_size
is also assigned the return value of fread() in the loop. The patch
separates this by introducing another variable.

I think it's best to move the file opening code outside the while loop,
as it's most likely bound to be opened anyway, and the penalty is not
too bad.
2011-10-02 18:42:16 +05:30
..
.gitignore Added .gitignore files generated with git svn create-ignore. 2009-01-31 11:37:44 +00:00
file-open.c app: when opening an image, don't unref it if no display could be created 2011-05-17 14:55:57 +02:00
file-open.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
file-procedure.c app: Don't overload head_size with different meanings 2011-10-02 18:42:16 +05:30
file-procedure.h app: Add file_procedure_in_group() 2009-05-16 09:47:36 +02:00
file-save.c Bug 646371 - The wrong file gets saved when exporting with overwrite 2011-04-03 16:54:34 +02:00
file-save.h app: Emit the GimpImage::exported signal when image is exported 2009-05-16 13:02:55 +02:00
file-utils.c app: Add and use gimp_image_get_uri() 2011-01-26 08:19:39 +01:00
file-utils.h app: Support default types for save and export 2009-05-16 13:02:54 +02:00
gimp-file.h app: gimp_image_get/set_imported/exported/save_a_copy_uri() 2011-02-02 22:28:46 +01:00
Makefile.am app: Put gimp-file.h in file/Makefile.am 2009-07-12 12:48:06 +02:00
makefile.msc updated and removed -GD to let msvc9 complain less 2007-12-09 14:11:09 +00:00