From 23ea1589cd46ace11906a734b099c2b9aa2fa4d1 Mon Sep 17 00:00:00 2001 From: Michael Gratton Date: Tue, 15 Jan 2019 14:19:07 +1100 Subject: [PATCH] Fix build with new FolderPath API --- src/client/application/geary-controller.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/application/geary-controller.vala b/src/client/application/geary-controller.vala index 8a498cde..0d66b72a 100644 --- a/src/client/application/geary-controller.vala +++ b/src/client/application/geary-controller.vala @@ -2778,7 +2778,7 @@ public class GearyController : Geary.BaseObject { // if folder contains children, we must ensure that there is at least one of the same type Geary.SpecialFolderType type = folder.special_folder_type; foreach (Geary.Folder other in all) { - if (other.special_folder_type == type && other.path.get_parent() == folder.path) + if (other.special_folder_type == type && other.path.parent == folder.path) return true; }