2007-09-20 Sven Neumann <sven@gimp.org> * app/core/gimpimage.[ch]: added a load_proc member to GimpImage and getters and setters for it. * app/file/file-open.c (file_open_image): set the load procedure, but only if it hasn't been set already. Use the MIME type from the load procedure that is set on the image. * tools/pdbgen/pdb/fileops.pdb (file_load_invoker): set the load procedure. This causes it to be set when the URI plug-in calls gimp-file-load to load the image. * app/pdb/fileops_cmds.c: regenerated. * app/widgets/gimpimagepropview.c (gimp_image_prop_view_label_set_filetype): use the MIME type from the load procedure, in case that no save procedure is set. svn path=/trunk/; revision=23597
This directory contains the PDB-wrappers for various internal Gimp functions. THESE FILES ARE AUTOGENERATED AND CHANGES HERE ARE USELESS! If you need to change the code please have a look in ../../tools/pdbgen/pdb.