Rename connect to connect_to_server_async to avoid confusion with GObject connect

This commit is contained in:
oupson 2023-03-03 18:34:59 +01:00
parent 0a82c0bf60
commit f20f68110d
Signed by: oupson
GPG Key ID: 3BD88615552EFCB7
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ namespace Footerm {
construct { construct {
this.new_pane.on_server_selected.connect ((s) => { this.new_pane.on_server_selected.connect ((s) => {
this.footerm_pane_stack.set_visible_child (this.terminal_pane); this.footerm_pane_stack.set_visible_child (this.terminal_pane);
this.terminal_pane.connect (s); this.terminal_pane.connect_to_server_async (s);
}); });
} }

View File

@ -35,7 +35,7 @@ namespace Footerm {
this.configure_terminal(); this.configure_terminal();
} }
public void connect(Footerm.Model.Server server) { public void connect_to_server_async(Footerm.Model.Server server) {
this.server = server; this.server = server;
this.connect_to_server.begin((obj, res) => { this.connect_to_server.begin((obj, res) => {