Fix build with new FolderPath API

This commit is contained in:
Michael Gratton 2019-01-15 14:19:07 +11:00
parent 804a76820a
commit 23ea1589cd

View file

@ -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;
}