[geary/wip/712902-empty-gmail-folder] Fix build with new FolderPath API
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/712902-empty-gmail-folder] Fix build with new FolderPath API
- Date: Tue, 15 Jan 2019 03:19:46 +0000 (UTC)
commit 23ea1589cd46ace11906a734b099c2b9aa2fa4d1
Author: Michael Gratton <mike vee net>
Date: Tue Jan 15 14:19:07 2019 +1100
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]