Display buddy icon

2010-07-05 Thread nandini AGGARWAL
Hi

I am not able to display buddy icon in my own messenger using libpurple for
windows..

I am using following mentioned API's.


icon = purple_buddy_get_icon(pBuddy);

check = purple_buddy_icons_node_has_custom_icon(pBuddy-node);

path = purple_buddy_icon_get_full_path(pBuddy-icon);

image = purple_buddy_icons_find_account_icon(pBuddy-account);



But unfortunately none of the above API is working...So guide me



Thanks in advance

Waiting for reply..



Nandani Aggarwal
___
Support@pidgin.im mailing list
Want to unsubscribe?  Use this link:
http://pidgin.im/cgi-bin/mailman/listinfo/support

Regarding a query

2010-07-02 Thread nandini AGGARWAL
Hi

I am trying to set user icon using libpurple API but i am not able to do so.
I am using the following API.

image_store = purple_imgstore_new_from_file(
D:\\nandani\\pic\\LavenderFlowers.jpg);

filename = purple_imgstore_get_filename(image_store);

get_icon_data =
g_file_get_contents(D:\\nandani\\pic\\LavenderFlowers.jpg,contents,len,error);

img = purple_buddy_icons_set_account_icon(account,(guchar
*)contents,length);

OR

purple_account_set_buddy_icon_path (account,
D:\\nandani\\pic\\LavenderFlowers.jpg);



Please guide me how can i do it...

Thanks in advace..Waiting for your reply..



Nandani
___
Support@pidgin.im mailing list
Want to unsubscribe?  Use this link:
http://pidgin.im/cgi-bin/mailman/listinfo/support