Mercurial > pidgin
comparison src/protocols/jabber/jutil.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 | a9fb4493ae22 |
children |
comparison
equal
deleted
inserted
replaced
11337:1462b64f8fc9 | 11338:17142948653e |
---|---|
222 | 222 |
223 g_return_val_if_fail(name != NULL, NULL); | 223 g_return_val_if_fail(name != NULL, NULL); |
224 | 224 |
225 for(cnv = gaim_get_conversations(); cnv; cnv = cnv->next) { | 225 for(cnv = gaim_get_conversations(); cnv; cnv = cnv->next) { |
226 c = (GaimConversation*)cnv->data; | 226 c = (GaimConversation*)cnv->data; |
227 if(gaim_conversation_get_type(c) == GAIM_CONV_IM && | 227 if(gaim_conversation_get_type(c) == GAIM_CONV_TYPE_IM && |
228 !gaim_utf8_strcasecmp(name, gaim_conversation_get_name(c)) && | 228 !gaim_utf8_strcasecmp(name, gaim_conversation_get_name(c)) && |
229 account == gaim_conversation_get_account(c)) | 229 account == gaim_conversation_get_account(c)) |
230 return c; | 230 return c; |
231 } | 231 } |
232 | 232 |