[nautilus/wip/ernestask/warnings: 9/14] files-view: remove duplicate branch
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/ernestask/warnings: 9/14] files-view: remove duplicate branch
- Date: Thu, 1 Mar 2018 08:38:56 +0000 (UTC)
commit 9ec2be563527a6821625b33a896c2478728a0a3c
Author: Ernestas Kulik <ernestask gnome org>
Date: Mon Feb 26 14:14:10 2018 +0200
files-view: remove duplicate branch
The second else block has identical code to the fallback branch and can
safely be removed.
src/nautilus-files-view.c | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/src/nautilus-files-view.c b/src/nautilus-files-view.c
index c677be771..d3b0612df 100644
--- a/src/nautilus-files-view.c
+++ b/src/nautilus-files-view.c
@@ -3429,10 +3429,6 @@ nautilus_files_view_set_location (NautilusView *view,
set_search_query_internal (files_view, previous_query, base_model);
g_object_unref (previous_query);
}
- else if (NAUTILUS_IS_STARRED_DIRECTORY (directory))
- {
- load_directory (NAUTILUS_FILES_VIEW (view), directory);
- }
else
{
load_directory (NAUTILUS_FILES_VIEW (view), directory);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]