[nautilus/wip/ernestask/leak-plugging: 3/10] file-utilities: Add missing else statement



commit f81b091ebf1578a4038a19847468d6588b95375e
Author: Ernestas Kulik <ernestask gnome org>
Date:   Fri Oct 5 18:43:20 2018 +0300

    file-utilities: Add missing else statement
    
    a9c446afe262b7989bc17ef1f9ab19931db8dede inadvertently removed it and
    that is causing leaks that don’t make sense at first.

 src/nautilus-file-utilities.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/nautilus-file-utilities.c b/src/nautilus-file-utilities.c
index 40acff938..f8afabbfe 100644
--- a/src/nautilus-file-utilities.c
+++ b/src/nautilus-file-utilities.c
@@ -326,6 +326,7 @@ nautilus_compute_title_for_location (GFile *location)
         {
             title = g_strdup (_("Starred"));
         }
+        else
         {
             title = nautilus_file_get_description (file);
 


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