Commit 700c6523 authored by Raul Gutierrez Segales's avatar Raul Gutierrez Segales
Browse files

tpf: no need to use a lambda since callback exists

parent 2e81215d
......@@ -98,11 +98,7 @@ public class Folks.Backends.Tp.Backend : Folks.Backend
this._account_manager.account_enabled.connect (
this._account_enabled_cb);
this._account_manager.account_validity_changed.connect (
(a, valid) =>
{
if (valid)
this._account_enabled_cb (a);
});
this._account_validity_changed_cb);
GLib.List<unowned Account> accounts =
this._account_manager.get_valid_accounts ();
......
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