diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 7 | ||||
-rw-r--r-- | shell/e-shell-view.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index f5dbae568a..e850d23f6b 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,10 @@ +2001-07-09 Jason Leach <jleach@ximian.com> + + * e-shell-view.c (updated_folder_cb): It's very possible that + get_storage_set_path_from_uri() returns NULL (5 of the 6 return + cases), so check that it's not NULL before trying to strcmp() it. + Fixes a startup crash. + 2001-07-06 Dan Winship <danw@ximian.com> * e-shortcuts.c (shortcut_item_update): Return a gboolean saying diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index c8385ebbc4..7718f471ab 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -1136,7 +1136,7 @@ updated_folder_cb (EStorageSet *storage_set, #endif view_path = get_storage_set_path_from_uri (priv->uri); - if (strcmp (path, view_path) != 0) + if (view_path && strcmp (path, view_path) != 0) return; /* Update the folder title bar and the window title bar */ |