diff options
author | fiaxh <git@lightrise.org> | 2019-03-14 17:38:48 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2019-03-14 17:39:31 +0100 |
commit | 952ac9548402744ac9b13917255b9e461a96abe5 (patch) | |
tree | 0aa4c1c87b0da5961450cf024b1684e264d13c09 /libdino | |
parent | fb504308d03e078422422b57323f89ae86dac466 (diff) | |
download | dino-952ac9548402744ac9b13917255b9e461a96abe5.tar.gz dino-952ac9548402744ac9b13917255b9e461a96abe5.zip |
Use regex literals, fixes some compiler warnings
Diffstat (limited to 'libdino')
-rw-r--r-- | libdino/src/service/connection_manager.vala | 2 | ||||
-rw-r--r-- | libdino/src/service/stream_interactor.vala | 2 |
2 files changed, 2 insertions, 2 deletions
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) { |