aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-storage-set-view.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 3631ad847b..1663152cc3 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2000-06-01 Dan Winship <danw@helixcode.com>
* e-shell-view-menu.c (command_help): New menu callback to launch
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, '/');