aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-storage.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-10-25 08:26:45 +0800
committerDan Winship <danw@src.gnome.org>2001-10-25 08:26:45 +0800
commitbcd57ec7f99a6b28172c390783c2ad85927db965 (patch)
tree18321e324c8b141e7835d9ba8979093f2caac59d /shell/evolution-storage.c
parent162035d40040367823e14103440eb5018d802edb (diff)
downloadgsoc2013-evolution-bcd57ec7f99a6b28172c390783c2ad85927db965.tar.gz
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
Diffstat (limited to 'shell/evolution-storage.c')
-rw-r--r--shell/evolution-storage.c1
1 files changed, 1 insertions, 0 deletions
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);