[geary: 1/2] accounts-editor-add-pane: Fix bug on AddPaneRow constructor




commit f5825c2b34ac5dca6e5a3cf016312b7f9a1c15dd
Author: Jeremias Ortega <jeremias ortega tech>
Date:   Sun Jan 24 22:39:03 2021 -0600

    accounts-editor-add-pane: Fix bug on AddPaneRow constructor
    
    AddPaneRow constructor created a new `Gtk.Entry` instead of using the
    parameter provided.

 src/client/accounts/accounts-editor-add-pane.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/client/accounts/accounts-editor-add-pane.vala 
b/src/client/accounts/accounts-editor-add-pane.vala
index 468e348fe..713b56f4f 100644
--- a/src/client/accounts/accounts-editor-add-pane.vala
+++ b/src/client/accounts/accounts-editor-add-pane.vala
@@ -506,7 +506,7 @@ private abstract class Accounts.AddPaneRow<Value> :
 
 
     protected AddPaneRow(string label, Value value) {
-        base(label, new Gtk.Entry());
+        base(label, value);
         this.activatable = false;
     }
 


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