diff options
author | Carlos Soriano <csoriano@gnome.org> | 2016-04-14 13:41:33 +0200 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2016-04-28 11:40:25 +0200 |
commit | 86a8396471a45d3a504102e10eefa12a72162616 (patch) | |
tree | 3be739ae3d6c2e54033a536d8a305a30321b4462 | |
parent | 4c9df94f36925f5f8a66a39254392317713e9dbd (diff) | |
download | nautilus-86a8396471a45d3a504102e10eefa12a72162616.tar.gz |
files-view: don't check for empty states in destruction
If we do we are going to access a NULL model.
-rw-r--r-- | src/nautilus-files-view.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nautilus-files-view.c b/src/nautilus-files-view.c index f800e7d4b..b6fd47520 100644 --- a/src/nautilus-files-view.c +++ b/src/nautilus-files-view.c @@ -3216,7 +3216,9 @@ done_loading (NautilusFilesView *view, g_signal_emit (view, signals[END_LOADING], 0, all_files_seen); g_object_notify (G_OBJECT (view), "is-loading"); - check_empty_states (view); + if (!view->details->in_destruction) { + check_empty_states (view); + } nautilus_profile_end (NULL); } |