[folks] eds: Add create_source_registry to eds tests.
- From: Erick PÃrez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] eds: Add create_source_registry to eds tests.
- Date: Tue, 14 Aug 2012 17:52:26 +0000 (UTC)
commit 02282256edf99189acfeab024109f23d864f555e
Author: Erick PÃrez Castellanos <erick red gmail com>
Date: Tue Aug 14 13:22:10 2012 -0400
eds: Add create_source_registry to eds tests.
tests/lib/eds/backend.vala | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/tests/lib/eds/backend.vala b/tests/lib/eds/backend.vala
index 16cb231..fdba091 100644
--- a/tests/lib/eds/backend.vala
+++ b/tests/lib/eds/backend.vala
@@ -22,6 +22,11 @@ using E;
using Folks;
using Random;
+/* The following function is needed in order to use the async SourceRegistry
+ * constructor. FIXME: https://bugzilla.gnome.org/show_bug.cgi?id=659886 */
+[CCode (cname = "e_source_registry_new", cheader_filename = "libedataserver/libedataserver.h", finish_function = "e_source_registry_new_finish")]
+internal extern static async E.SourceRegistry create_source_registry (GLib.Cancellable? cancellable = null) throws GLib.Error;
+
errordomain EdsTest.BackendSetupError
{
FETCH_SOURCE_GROUP_FAILED,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]