]> git.0d.be Git - empathy.git/commitdiff
index begin at 0 and not 1 for GArray
authorXavier Claessens <xclaesse@gmail.com>
Tue, 17 Feb 2009 14:51:45 +0000 (15:51 +0100)
committerXavier Claessens <xclaesse@gmail.com>
Wed, 22 Apr 2009 10:21:11 +0000 (12:21 +0200)
libempathy/empathy-tp-contact-list.c

index 876e356f4ec54a8b6e270fdab30d625d44efdd68..7988a3ea1098b562c28bce3607992916f88bf1dd 100644 (file)
@@ -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,