g_return_if_fail if the display_name is NULL. "Fixes" 11182 although there

* evolution-storage.c (evolution_storage_new_folder):
	g_return_if_fail if the display_name is NULL. "Fixes" 11182
	although there may be a few more cases lying around that pass
	NULLs in.

svn path=/trunk/; revision=14078
This commit is contained in:
Dan Winship
2001-10-25 00:26:45 +00:00
parent 162035d400
commit bcd57ec7f9
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2001-10-24 Dan Winship <danw@ximian.com>
* evolution-storage.c (evolution_storage_new_folder):
g_return_if_fail if the display_name is NULL. "Fixes" 11182
although there may be a few more cases lying around that pass
NULLs in.
2001-10-24 Ettore Perazzoli <ettore@ximian.com>
* main.c (quit_box_new): Set the WMClass of the quit dialog to be

View File

@ -804,6 +804,7 @@ evolution_storage_new_folder (EvolutionStorage *evolution_storage,
EVOLUTION_STORAGE_ERROR_INVALIDPARAMETER);
g_return_val_if_fail (path != NULL, EVOLUTION_STORAGE_ERROR_INVALIDPARAMETER);
g_return_val_if_fail (g_path_is_absolute (path), EVOLUTION_STORAGE_ERROR_INVALIDPARAMETER);
g_return_val_if_fail (display_name != NULL, EVOLUTION_STORAGE_ERROR_INVALIDPARAMETER);
g_return_val_if_fail (type != NULL, EVOLUTION_STORAGE_ERROR_INVALIDPARAMETER);
g_return_val_if_fail (physical_uri != NULL, EVOLUTION_STORAGE_ERROR_INVALIDPARAMETER);