[folks/folks-0-10] core: Unmark a private method as async
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks/folks-0-10] core: Unmark a private method as async
- Date: Thu, 22 Jan 2015 16:44:40 +0000 (UTC)
commit ac7a8ec5cfedda55b705a3f9760bea1d0549f47a
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]