{
try
{
- this.change_favourites_by_request_handles (h.length,
- (TelepathyGLib.Handle[]) h, i, e, true);
+ this.change_favourites_by_request_handles ((Handle[]) h, i,
+ e, true);
}
catch (GLib.Error e)
{
}
}
- private void change_favourites_by_request_handles (uint n_handles,
- Handle[] handles, string[] ids, GLib.Error? error,
- bool add) throws GLib.Error
+ private void change_favourites_by_request_handles (Handle[] handles,
+ string[] ids, GLib.Error? error, bool add) throws GLib.Error
{
if (error != null)
throw error;
- for (var i = 0; i < n_handles; i++)
+ for (var i = 0; i < handles.length; i++)
{
Handle h = handles[i];
Persona p = this.handle_persona_map[h];
{
try
{
- this.change_favourites_by_request_handles (h.length,
- (TelepathyGLib.Handle[]) h, i, e, true);
+ this.change_favourites_by_request_handles ((Handle[]) h,
+ i, e, true);
}
catch (GLib.Error e)
{
{
try
{
- this.change_favourites_by_request_handles (h.length,
- (TelepathyGLib.Handle[]) h, i, e, false);
+ this.change_favourites_by_request_handles ((Handle[]) h,
+ i, e, false);
}
catch (GLib.Error e)
{