aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2001-06-13 10:07:20 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-06-13 10:07:20 +0800
commit3a0539c91a4c302f9f254e0a05ea26be42caae5f (patch)
tree874c9ef4bf9133a9d3b0ba036d8d9be81819fb53 /shell/e-shell-view.c
parentf3b14e95468d39b8d5f33f31b96154de38ac4d07 (diff)
downloadgsoc2013-evolution-3a0539c91a4c302f9f254e0a05ea26be42caae5f.tar
gsoc2013-evolution-3a0539c91a4c302f9f254e0a05ea26be42caae5f.tar.gz
gsoc2013-evolution-3a0539c91a4c302f9f254e0a05ea26be42caae5f.tar.bz2
gsoc2013-evolution-3a0539c91a4c302f9f254e0a05ea26be42caae5f.tar.lz
gsoc2013-evolution-3a0539c91a4c302f9f254e0a05ea26be42caae5f.tar.xz
gsoc2013-evolution-3a0539c91a4c302f9f254e0a05ea26be42caae5f.tar.zst
gsoc2013-evolution-3a0539c91a4c302f9f254e0a05ea26be42caae5f.zip
Check priv->uri isn't null before strcmp'ing it here too.
2001-06-13 Not Zed <NotZed@Ximian.com> * e-shell-view.c (switch_on_folder_tree_click): Check priv->uri isn't null before strcmp'ing it here too. svn path=/trunk/; revision=10206
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r--shell/e-shell-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index 29c75fb287..9ca860ff5f 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -409,7 +409,7 @@ switch_on_folder_tree_click (EShellView *shell_view,
priv = shell_view->priv;
uri = g_strconcat (E_SHELL_URI_PREFIX, path, NULL);
- if (!strcmp (uri, priv->uri)) {
+ if (priv->uri != NULL && !strcmp (uri, priv->uri)) {
g_free (uri);
return;
}