Commit 85b50b4c authored by Rico Tzschichholz's avatar Rico Tzschichholz Committed by Michael Gratton

Fix broken enum value references

parent 092a5a3c
Pipeline #64044 passed with stages
in 9 minutes and 41 seconds
......@@ -1396,7 +1396,7 @@ public class Accounts.ServiceConfigV1 : ServiceConfig, GLib.Object {
string? login = service_config.get_string(LOGIN, null);
if (login != null) {
service.credentials = new Geary.Credentials(
Credentials.PASSWORD, login
Geary.Credentials.Method.PASSWORD, login
);
}
service.remember_password = service_config.get_bool(
......@@ -1500,7 +1500,7 @@ public class Accounts.ServiceConfigLegacy : ServiceConfig, GLib.Object {
);
if (login != null) {
service.credentials = new Geary.Credentials(
Credentials.PASSWORD, login
Geary.Credentials.Method.PASSWORD, login
);
}
service.remember_password = service_config.get_bool(
......
......@@ -135,7 +135,7 @@ public class Geary.ServiceInformation : GLib.Object {
*/
public ServiceInformation.copy(ServiceInformation other) {
// Use OTHER here to get blank defaults
this(other.protocol, ServiceInformation.OTHER);
this(other.protocol, ServiceProvider.OTHER);
this.host = other.host;
this.port = other.port;
this.transport_security = other.transport_security;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment