[Telepathy] obtaining handles to contacts to establish a text channel

Alberto Mardegan mardy at users.sourceforge.net
Tue Feb 19 01:19:45 PST 2008


ext Sjoerd Simons wrote:
> On Mon, Feb 18, 2008 at 08:16:13PM -0500, harini satyanarayanan wrote:
>> It throws an error that didnt get handle for contact. If this is wrong
>> then how do i mention the contact to which i have to send the message.
>>
>> const gchar* lists1[] = { "contact at gmail.com", NULL };
>>          GArray *handles1 = NULL;
>>
>>     if (!tp_conn_request_handles (DBUS_G_PROXY(tp_connection),
>> TP_HANDLE_TYPE_CONTACT, lists,  &handles1, &error))  {
>>
>>       g_warning("Didn't get a handle for the '%s' list\n", lists1[0]);
> 
> I don't see any obvious mistakes here. But you might want to print
> error->message, to see what causes RequestHandles to fail.

Supposing that lists and lists1 are the same variable...

-- 
http://www.mardy.it <-- Geek in un lingua international!


More information about the Telepathy mailing list