aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-storage-set-view.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-06-02 07:58:52 +0800
committerChris Lahey <clahey@src.gnome.org>2000-06-02 07:58:52 +0800
commitf4eed74cbc66265957f938f13f1baa15e76c421e (patch)
tree5c62b2052485e385bda9cf30d772abf43176054f /shell/e-storage-set-view.c
parent94b600a5003e24183ce33b6a3c23229f94d79e5c (diff)
downloadgsoc2013-evolution-f4eed74cbc66265957f938f13f1baa15e76c421e.tar.gz
gsoc2013-evolution-f4eed74cbc66265957f938f13f1baa15e76c421e.tar.zst
gsoc2013-evolution-f4eed74cbc66265957f938f13f1baa15e76c421e.zip
Added a g_return_if_fail check.
2000-06-01 Christopher James Lahey <clahey@helixcode.com> * e-storage-set-view.c (set_e_shortcut_selection): Added a g_return_if_fail check. svn path=/trunk/; revision=3350
Diffstat (limited to 'shell/e-storage-set-view.c')
-rw-r--r--shell/e-storage-set-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c
index fc54c35c36..62b1cd20c6 100644
--- a/shell/e-storage-set-view.c
+++ b/shell/e-storage-set-view.c
@@ -388,6 +388,8 @@ set_e_shortcut_selection (EStorageSetView *storage_set_view,
const char *trailing_slash;
const char *name;
+ g_return_if_fail(storage_set_view != NULL);
+
priv = storage_set_view->priv;
trailing_slash = strrchr (priv->selected_row_path, '/');