Make ServiceProvider config methods public so they can be used by tests
This commit is contained in:
parent
60a3f9346d
commit
3b3e0b03d1
1 changed files with 2 additions and 3 deletions
|
|
@ -29,8 +29,7 @@ public enum Geary.ServiceProvider {
|
|||
);
|
||||
}
|
||||
|
||||
|
||||
internal void set_account_defaults(AccountInformation service) {
|
||||
public void set_account_defaults(AccountInformation service) {
|
||||
switch (this) {
|
||||
case GMAIL:
|
||||
ImapEngine.GmailAccount.setup_account(service);
|
||||
|
|
@ -44,7 +43,7 @@ public enum Geary.ServiceProvider {
|
|||
}
|
||||
}
|
||||
|
||||
internal void set_service_defaults(ServiceInformation service) {
|
||||
public void set_service_defaults(ServiceInformation service) {
|
||||
switch (this) {
|
||||
case GMAIL:
|
||||
ImapEngine.GmailAccount.setup_service(service);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue