Mercurial > pidgin.yaz
comparison src/buddyicon.c @ 11338:17142948653e
[gaim-migrate @ 13551]
Change the GAIM_CONV_IM and GAIM_CONV_CHAT enums to GAIM_CONV_TYPE_IM
and GAIM_CONV_TYPE_CHAT. This touched A LOT of files. Also combined
two oscar header files (one of them was small and dorky).
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 25 Aug 2005 02:33:44 +0000 |
parents | 10066662176a |
children | 202a3b3c5a88 |
comparison
equal
deleted
inserted
replaced
11337:1462b64f8fc9 | 11338:17142948653e |
---|---|
103 * icon is already destroyed. | 103 * icon is already destroyed. |
104 */ | 104 */ |
105 account = gaim_buddy_icon_get_account(icon); | 105 account = gaim_buddy_icon_get_account(icon); |
106 username = gaim_buddy_icon_get_username(icon); | 106 username = gaim_buddy_icon_get_username(icon); |
107 | 107 |
108 conv = gaim_find_conversation_with_account(GAIM_CONV_IM, username, account); | 108 conv = gaim_find_conversation_with_account(GAIM_CONV_TYPE_IM, username, account); |
109 if (conv != NULL) | 109 if (conv != NULL) |
110 gaim_conv_im_set_icon(GAIM_CONV_IM(conv), NULL); | 110 gaim_conv_im_set_icon(GAIM_CONV_IM(conv), NULL); |
111 | 111 |
112 for (list = sl = gaim_find_buddies(account, username); sl != NULL; | 112 for (list = sl = gaim_find_buddies(account, username); sl != NULL; |
113 sl = sl->next) | 113 sl = sl->next) |
188 gaim_buddy_set_icon(buddy, icon); | 188 gaim_buddy_set_icon(buddy, icon); |
189 } | 189 } |
190 | 190 |
191 g_slist_free(list); | 191 g_slist_free(list); |
192 | 192 |
193 conv = gaim_find_conversation_with_account(GAIM_CONV_IM, username, account); | 193 conv = gaim_find_conversation_with_account(GAIM_CONV_TYPE_IM, username, account); |
194 | 194 |
195 if (conv != NULL) | 195 if (conv != NULL) |
196 gaim_conv_im_set_icon(GAIM_CONV_IM(conv), icon); | 196 gaim_conv_im_set_icon(GAIM_CONV_IM(conv), icon); |
197 } | 197 } |
198 | 198 |