From bcd57ec7f99a6b28172c390783c2ad85927db965 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 25 Oct 2001 00:26:45 +0000 Subject: 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 --- shell/ChangeLog | 7 +++++++ shell/evolution-storage.c | 1 + 2 files changed, 8 insertions(+) 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 + + * 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 * 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); -- cgit v1.2.3