diff options
author | Dan Winship <danw@src.gnome.org> | 2001-10-25 08:26:45 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-10-25 08:26:45 +0800 |
commit | bcd57ec7f99a6b28172c390783c2ad85927db965 (patch) | |
tree | 18321e324c8b141e7835d9ba8979093f2caac59d | |
parent | 162035d40040367823e14103440eb5018d802edb (diff) | |
download | gsoc2013-evolution-bcd57ec7f99a6b28172c390783c2ad85927db965.tar gsoc2013-evolution-bcd57ec7f99a6b28172c390783c2ad85927db965.tar.gz gsoc2013-evolution-bcd57ec7f99a6b28172c390783c2ad85927db965.tar.bz2 gsoc2013-evolution-bcd57ec7f99a6b28172c390783c2ad85927db965.tar.lz gsoc2013-evolution-bcd57ec7f99a6b28172c390783c2ad85927db965.tar.xz gsoc2013-evolution-bcd57ec7f99a6b28172c390783c2ad85927db965.tar.zst gsoc2013-evolution-bcd57ec7f99a6b28172c390783c2ad85927db965.zip |
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
-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); |