[nautilus/gnome-3-24] file: Remove obsolete test



commit 27a72df3172dcb7587fb0ff55a74f13c5a46090a
Author: Carlos Soriano <csoriano gnome org>
Date:   Sat Apr 22 23:02:21 2017 +0200

    file: Remove obsolete test
    
    A comment from Alex said in there it was obsolete, and seems at some
    point we reactivated it.

 src/nautilus-file.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/src/nautilus-file.c b/src/nautilus-file.c
index 5c100f5..c630aac 100644
--- a/src/nautilus-file.c
+++ b/src/nautilus-file.c
@@ -9677,18 +9677,6 @@ nautilus_self_check_file (void)
     EEL_CHECK_STRING_RESULT (nautilus_file_get_name (file_1), "home");
     nautilus_file_unref (file_1);
 
-    /* ALEX: I removed this, because it was breaking distchecks.
-     * It used to work, but when canonical uris changed from
-     * foo: to foo:/// it broke. I don't expect it to matter
-     * in real life */
-    file_1 = nautilus_file_get_by_uri (":");
-    EEL_CHECK_STRING_RESULT (nautilus_file_get_name (file_1), ":");
-    nautilus_file_unref (file_1);
-
-    file_1 = nautilus_file_get_by_uri ("eazel:");
-    EEL_CHECK_STRING_RESULT (nautilus_file_get_name (file_1), "eazel:///");
-    nautilus_file_unref (file_1);
-
     /* sorting */
     file_1 = nautilus_file_get_by_uri ("file:///etc");
     file_2 = nautilus_file_get_by_uri ("file:///usr");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]