[folks] core: Unmark a private method as async
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] core: Unmark a private method as async
- Date: Thu, 22 Jan 2015 16:40:21 +0000 (UTC)
commit a446d66e6b93d50bb157703b648f3dcb6dce6af2
Author: Philip Withnall <philip withnall collabora co uk>
Date: Thu Jan 22 16:19:03 2015 +0000
core: Unmark a private method as async
It does not use any async features or yields, so there’s no point in it
being async.
folks/individual-aggregator.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/folks/individual-aggregator.vala b/folks/individual-aggregator.vala
index 3f10fba..5bf366b 100644
--- a/folks/individual-aggregator.vala
+++ b/folks/individual-aggregator.vala
@@ -903,7 +903,7 @@ public class Folks.IndividualAggregator : Object
return matches;
}
- private async void _add_backend (Backend backend)
+ private void _add_backend (Backend backend)
{
if (!this._backends.contains (backend))
{
@@ -949,7 +949,7 @@ public class Folks.IndividualAggregator : Object
}
}
- this._add_backend.begin (backend);
+ this._add_backend (backend);
}
private void _set_primary_store (PersonaStore store)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]