[geary/mjog/misc-fixes: 5/6] Fix valac criticals at build time
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/mjog/misc-fixes: 5/6] Fix valac criticals at build time
- Date: Tue, 19 Nov 2019 08:35:54 +0000 (UTC)
commit 2b15b49e4fdcb80e3fc8cb4f93fa7b9e11da1c89
Author: Michael Gratton <mike vee net>
Date: Tue Nov 19 14:34:37 2019 +1100
Fix valac criticals at build time
See GNOME/vala#835
src/client/application/application-client.vala | 2 +-
src/client/application/application-main-window.vala | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/client/application/application-client.vala b/src/client/application/application-client.vala
index 88d32887..0e75cde9 100644
--- a/src/client/application/application-client.vala
+++ b/src/client/application/application-client.vala
@@ -813,7 +813,7 @@ public class Application.Client : Gtk.Application {
// likely still loading folders after being
// opened. Add a listener to try again later.
try {
- Geary.Account? first = Geary.Collection.first(
+ Geary.Account? first = Geary.Collection.first<Geary.Account>(
this.engine.get_accounts()
);
if (first != null) {
diff --git a/src/client/application/application-main-window.vala
b/src/client/application/application-main-window.vala
index e163d1bc..0012727c 100644
--- a/src/client/application/application-main-window.vala
+++ b/src/client/application/application-main-window.vala
@@ -860,7 +860,7 @@ public class Application.MainWindow :
private Geary.Folder? get_first_inbox() {
Geary.Folder? inbox = null;
try {
- Geary.Account? first = Geary.Collection.first(
+ Geary.Account? first = Geary.Collection.first<Geary.Account>(
this.application.engine.get_accounts()
);
if (first != null) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]