[folks/wip/tintou/eds-fixes] Fix build with latest EDS version




commit 03ea554e11824e274e584d325d893ad8faa241cf
Author: Corentin Noël <corentin noel collabora com>
Date:   Mon Jun 7 11:43:14 2021 +0200

    Fix build with latest EDS version
    
    The introspection at EDS side has been fixed, which leads to VAPI breaks.

 backends/eds/lib/edsf-persona-store.vala | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/backends/eds/lib/edsf-persona-store.vala b/backends/eds/lib/edsf-persona-store.vala
index 4cac5620..448d8a37 100644
--- a/backends/eds/lib/edsf-persona-store.vala
+++ b/backends/eds/lib/edsf-persona-store.vala
@@ -1224,8 +1224,8 @@ public class Edsf.PersonaStore : Folks.PersonaStore
           signal_id = ((!) this._ebookview).objects_added.connect (
               (_contacts) =>
             {
-              unowned GLib.List<E.Contact> contacts =
-                  (GLib.List<E.Contact>) _contacts;
+              unowned GLib.SList<E.Contact> contacts =
+                  (GLib.SList<E.Contact>) _contacts;
 
               /* All handlers for objects-added have to be pushed through the
                * idle queue so they remain in order with respect to each other
@@ -2459,7 +2459,7 @@ public class Edsf.PersonaStore : Folks.PersonaStore
       return copy;
     }
 
-  private void _contacts_added_cb (GLib.List<E.Contact> contacts)
+  private void _contacts_added_cb (GLib.SList<E.Contact> contacts)
     {
       var copy = this._copy_contacts (contacts);
       this._idle_queue (() => { return this._contacts_added_idle (copy); });
@@ -2533,7 +2533,7 @@ public class Edsf.PersonaStore : Folks.PersonaStore
       return false;
     }
 
-  private void _contacts_changed_cb (GLib.List<E.Contact> contacts)
+  private void _contacts_changed_cb (GLib.SList<E.Contact> contacts)
     {
       var copy = this._copy_contacts (contacts);
       this._idle_queue (() => { return this._contacts_changed_idle (copy); });
@@ -2562,7 +2562,7 @@ public class Edsf.PersonaStore : Folks.PersonaStore
       return false;
     }
 
-  private void _contacts_removed_cb (GLib.List<string> contacts_ids)
+  private void _contacts_removed_cb (GLib.SList<string> contacts_ids)
     {
       var copy = this._copy_contacts_ids (contacts_ids);
       this._idle_queue (() => { return this._contacts_removed_idle (copy); });


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]