libpurple / buddy icons
Cedric Roche
csced at hotmail.com
Wed Aug 19 09:55:03 EDT 2009
The same code doesn't work at all when using gtalk.
From: csced at hotmail.com
To: devel at pidgin.im
Subject: libpurple / buddy icons
Date: Tue, 18 Aug 2009 16:21:03 +0200
Hi,
I'm trying to retrieve the buddy icons. Here is how I do it :
PurpleBuddyIcon *icon = NULL;
if ((icon = purple_buddy_icons_find(buddy->account, buddy->name)))
{
const void *data;
size_t len;
data = purple_buddy_icon_get_data(icon, &len);
purple_util_write_data_to_file_absolute(path, (const char*) data, len); // yes the path variable is changing
}
The problem is that I'm not getting all the icons. I do get some of them but not all of them.
Am I (again) missing something ?
Thanks
Votre correspondant a choisi Hotmail et profite d'un stockage quasiment illimité. Créez un compte Hotmail gratuitement !
_________________________________________________________________
Découvrez toutes les possibilités de communication avec vos proches
http://www.microsoft.com/windows/windowslive/default.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/devel/attachments/20090819/94b1a178/attachment.html>
More information about the Devel
mailing list