Fix build with new FolderPath API
This commit is contained in:
parent
804a76820a
commit
23ea1589cd
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue