From 952ac9548402744ac9b13917255b9e461a96abe5 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Thu, 14 Mar 2019 17:38:48 +0100 Subject: Use regex literals, fixes some compiler warnings --- libdino/src/service/connection_manager.vala | 2 +- libdino/src/service/stream_interactor.vala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libdino/src/service') diff --git a/libdino/src/service/connection_manager.vala b/libdino/src/service/connection_manager.vala index ad846ba2..464302cb 100644 --- a/libdino/src/service/connection_manager.vala +++ b/libdino/src/service/connection_manager.vala @@ -110,7 +110,7 @@ public class ConnectionManager : Object { return connection_todo; } - public XmppStream? connect(Account account) { + public XmppStream? connect_account(Account account) { if (!connection_todo.contains(account)) connection_todo.add(account); if (!connections.has_key(account)) { return connect_(account); diff --git a/libdino/src/service/stream_interactor.vala b/libdino/src/service/stream_interactor.vala index 55ab8984..2c8e1adc 100644 --- a/libdino/src/service/stream_interactor.vala +++ b/libdino/src/service/stream_interactor.vala @@ -26,7 +26,7 @@ public class StreamInteractor : Object { public void connect_account(Account account) { module_manager.initialize(account); account_added(account); - connection_manager.connect(account); + connection_manager.connect_account(account); } public void disconnect_account(Account account) { -- cgit v1.2.3-70-g09d2