[geary/wip/composer-mailto-crash] Fix crash in composer opening mailto: links



commit 40e22625c43b0386a0e1d959f27b254ee8ea3414
Author: Michael Gratton <mike vee net>
Date:   Wed Jun 26 22:10:34 2019 +1000

    Fix crash in composer opening mailto: links

 src/client/composer/composer-widget.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/client/composer/composer-widget.vala b/src/client/composer/composer-widget.vala
index 85965c45..c58b2af4 100644
--- a/src/client/composer/composer-widget.vala
+++ b/src/client/composer/composer-widget.vala
@@ -557,7 +557,7 @@ public class ComposerWidget : Gtk.EventBox, Geary.BaseInterface {
     public ComposerWidget.from_mailto(GearyApplication application,
                                       Geary.Account initial_account,
                                       string mailto) {
-        this(application, account, ComposeType.NEW_MESSAGE);
+        this(application, initial_account, ComposeType.NEW_MESSAGE);
 
         Gee.HashMultiMap<string, string> headers = new Gee.HashMultiMap<string, string>();
         if (mailto.length > Geary.ComposedEmail.MAILTO_SCHEME.length) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]