From f4eed74cbc66265957f938f13f1baa15e76c421e Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Thu, 1 Jun 2000 23:58:52 +0000 Subject: Added a g_return_if_fail check. 2000-06-01 Christopher James Lahey * e-storage-set-view.c (set_e_shortcut_selection): Added a g_return_if_fail check. svn path=/trunk/; revision=3350 --- shell/ChangeLog | 5 +++++ shell/e-storage-set-view.c | 2 ++ 2 files changed, 7 insertions(+) (limited to 'shell') 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 + + * e-storage-set-view.c (set_e_shortcut_selection): Added a + g_return_if_fail check. + 2000-06-01 Dan Winship * 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, '/'); -- cgit