aboutsummaryrefslogtreecommitdiffstats
path: root/shell
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
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')
-rw-r--r--shell/ChangeLog7
-rw-r--r--shell/evolution-storage.c1
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);