diff options
author | Not Zed <NotZed@Ximian.com> | 2001-06-13 10:07:20 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-06-13 10:07:20 +0800 |
commit | 3a0539c91a4c302f9f254e0a05ea26be42caae5f (patch) | |
tree | 874c9ef4bf9133a9d3b0ba036d8d9be81819fb53 | |
parent | f3b14e95468d39b8d5f33f31b96154de38ac4d07 (diff) | |
download | gsoc2013-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
-rw-r--r-- | shell/ChangeLog | 5 | ||||
-rw-r--r-- | shell/e-shell-view.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index bb769a4075..0fe0def053 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +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. + 2001-06-11 Dan Winship <danw@ximian.com> * e-shell-view.c (destroy): Don't destroy the 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; } |