comparison libpurple/protocols/jabber/presence.c @ 32767:2ec94166be43

On the way to hiding the PurpleConnection struct. * Added purple_connection_get_flags() and purple_connection_set_flags() * Use purple_connection_ accessor functions.
author andrew.victor@mxit.com
date Tue, 18 Oct 2011 18:47:48 +0000
parents 348a933fed78
children
comparison
equal deleted inserted replaced
32766:ea2b621fd3ba 32767:2ec94166be43
457 457
458 if (data) 458 if (data)
459 hash = jabber_calculate_data_hash(data, size, "sha1"); 459 hash = jabber_calculate_data_hash(data, size, "sha1");
460 } 460 }
461 461
462 purple_buddy_icons_set_for_user(js->gc->account, from, data, size, hash); 462 purple_buddy_icons_set_for_user(purple_connection_get_account(js->gc), from, data, size, hash);
463 463
464 g_free(hash); 464 g_free(hash);
465 } 465 }
466 } 466 }
467 } 467 }