check for errors even if the loader_func returned something so we display
2007-06-03 Michael Natterer <mitch@gimp.org> * app/core/gimpdatafactory.c (gimp_data_factory_load_data): check for errors even if the loader_func returned something so we display errors from partially loaded files which contain multiple data items. svn path=/trunk/; revision=22696
This commit is contained in:

committed by
Michael Natterer

parent
739da20929
commit
e5e3c8c65d
@ -1,3 +1,10 @@
|
||||
2007-06-03 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/core/gimpdatafactory.c (gimp_data_factory_load_data): check
|
||||
for errors even if the loader_func returned something so we
|
||||
display errors from partially loaded files which contain multiple
|
||||
data items.
|
||||
|
||||
2007-06-03 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* libgimpwidgets/gimpcolorscale.c: let mouse button 1 jump to the
|
||||
|
@ -721,7 +721,8 @@ gimp_data_factory_load_data (const GimpDatafileData *file_data,
|
||||
|
||||
g_list_free (data_list);
|
||||
}
|
||||
else
|
||||
|
||||
if (G_UNLIKELY (error))
|
||||
{
|
||||
gimp_message (factory->gimp, NULL, GIMP_MESSAGE_ERROR,
|
||||
_("Failed to load data:\n\n%s"), error->message);
|
||||
|
Reference in New Issue
Block a user