diff options
-rw-r--r-- | shell/ChangeLog | 7 | ||||
-rw-r--r-- | shell/evolution-storage.c | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index facae34a08..808a811547 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -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 diff --git a/shell/evolution-storage.c b/shell/evolution-storage.c index 68c2bfd079..a2159b5d0e 100644 --- a/shell/evolution-storage.c +++ b/shell/evolution-storage.c @@ -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); |