Commit 5ca9ad02 authored by Rico Tzschichholz's avatar Rico Tzschichholz

Fix type-argument mismatches related to GLib.GenericArray/List

parent e035b1b3
Pipeline #39427 passed with stage
in 4 minutes and 50 seconds
......@@ -265,7 +265,7 @@ public class Folks.Backends.BlueZ.Persona : Folks.Persona,
/* Parse the attributes by iterating over the vCard’s attribute list once
* only. Convenience functions like E.VCard.get_attribute() cause multiple
* iterations over the list. */
unowned GLib.List<unowned E.VCardAttribute> attrs =
unowned GLib.List<E.VCardAttribute> attrs =
card.get_attributes ();
foreach (var attr in attrs)
......@@ -314,7 +314,7 @@ public class Folks.Backends.BlueZ.Persona : Folks.Persona,
new_nickname = attr.get_value ();
else if (attr_name == "N")
{
unowned GLib.List<unowned string> values = attr.get_values ();
unowned GLib.List<string> values = attr.get_values ();
unowned string? family_name = null, given_name = null,
additional_names = null, prefixes = null, suffixes = null;
......
......@@ -1173,15 +1173,15 @@ public class Tpf.PersonaStore : Folks.PersonaStore
this._conn.contact_list_changed.connect (this._contact_list_changed_cb);
this._contact_list_changed_cb (this._conn.dup_contact_list (),
new GLib.GenericArray<TelepathyGLib.Contact> ());
new GLib.GenericArray<weak TelepathyGLib.Contact> ());
this._got_initial_members = true;
this._populate_counters.begin ();
this._notify_if_is_quiescent ();
}
private void _contact_list_changed_cb (GLib.GenericArray<TelepathyGLib.Contact> added,
GLib.GenericArray<TelepathyGLib.Contact> removed)
private void _contact_list_changed_cb (GLib.GenericArray<weak TelepathyGLib.Contact> added,
GLib.GenericArray<weak TelepathyGLib.Contact> removed)
{
var personas_added = new HashSet<Persona> ();
var personas_removed = new HashSet<Persona> ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment