do not return a value from a void function. Fixes bug #321333.

2005-11-13  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdatafactory.c (gimp_data_factory_data_free): do not
	return a value from a void function. Fixes bug #321333.
This commit is contained in:
Sven Neumann 2005-11-13 17:10:22 +00:00 committed by Sven Neumann
parent 409186dd49
commit 1b9f28f0e2
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-11-13 Sven Neumann <sven@gimp.org>
* app/core/gimpdatafactory.c (gimp_data_factory_data_free): do not
return a value from a void function. Fixes bug #321333.
2005-11-11 Sven Neumann <sven@gimp.org>
* INSTALL: document --enable-binreloc.

View File

@ -455,8 +455,9 @@ gimp_data_factory_remove_cb (GimpDataFactory *factory,
void
gimp_data_factory_data_free (GimpDataFactory *factory)
{
return gimp_data_factory_data_foreach (factory,
gimp_data_factory_remove_cb, NULL);
g_return_if_fail (GIMP_IS_DATA_FACTORY (factory));
gimp_data_factory_data_foreach (factory, gimp_data_factory_remove_cb, NULL);
}
GimpData *