From 3710528cebb73a471674af5ee478d5c24cff547d Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 17 Feb 2009 15:51:45 +0100 Subject: [PATCH] index begin at 0 and not 1 for GArray --- libempathy/empathy-tp-contact-list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libempathy/empathy-tp-contact-list.c b/libempathy/empathy-tp-contact-list.c index 876e356f..7988a3ea 100644 --- a/libempathy/empathy-tp-contact-list.c +++ b/libempathy/empathy-tp-contact-list.c @@ -292,7 +292,7 @@ tp_contact_list_group_request_handles_cb (TpConnection *connection, return; } - data->channel_handle = g_array_index (handles, TpHandle, 1); + data->channel_handle = g_array_index (handles, TpHandle, 0); data->ref_count++; tp_cli_connection_call_request_channel (connection, -1, TP_IFACE_CHANNEL_TYPE_CONTACT_LIST, -- 2.39.2