[folks] eds: Minor API fixes in the EDS backend
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] eds: Minor API fixes in the EDS backend
- Date: Thu, 9 Aug 2012 23:29:16 +0000 (UTC)
commit 93a708dea36235d97861ad1793f3d5ce5457d151
Author: Philip Withnall <philip tecnocode co uk>
Date: Fri Aug 10 00:11:20 2012 +0100
eds: Minor API fixes in the EDS backend
These APIs, introduced in folks 0.7.1 (so this is an unstable API break,
but thatâs OK), werenât quite right in C. The SourceRegistry constructor
shouldnât be exposed publicly as part of folks, and the PersonaStore
constructor had a stray extra parameter.
backends/eds/lib/edsf-persona-store.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/backends/eds/lib/edsf-persona-store.vala b/backends/eds/lib/edsf-persona-store.vala
index 4ea2ecb..2b727db 100644
--- a/backends/eds/lib/edsf-persona-store.vala
+++ b/backends/eds/lib/edsf-persona-store.vala
@@ -31,7 +31,7 @@ extern const string BACKEND_NAME;
/* 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")]
-public extern static async E.SourceRegistry create_source_registry (GLib.Cancellable? cancellable = null) throws GLib.Error;
+internal extern static async E.SourceRegistry create_source_registry (GLib.Cancellable? cancellable = null) throws GLib.Error;
/**
* A persona store.
@@ -227,7 +227,7 @@ public class Edsf.PersonaStore : Folks.PersonaStore
*/
[Deprecated (since = "0.7.2",
replacement = "Edsf.PersonaStore.with_source_registry()")]
- public PersonaStore (E.SourceRegistry r, E.Source s)
+ public PersonaStore (E.Source s)
{
string eds_uid = s.get_uid ();
string eds_name = s.get_display_name ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]