Mercurial > pidgin.yaz
diff src/conversation.c @ 10805:4151d16f6348
[gaim-migrate @ 12453]
i vote this goes away
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 10 Apr 2005 02:22:15 +0000 |
parents | 51ea57c36056 |
children | 8d52201620d0 |
line wrap: on
line diff
--- a/src/conversation.c Sat Apr 09 17:12:07 2005 +0000 +++ b/src/conversation.c Sun Apr 10 02:22:15 2005 +0000 @@ -1351,42 +1351,6 @@ } -/* - * This is deprecated, right? --SomeOne - * - * I don't know, I could see uses for it. Specifically, a plugin - * that wants to know if you're talking to a specific person. - * --KingAnt - */ -GaimConversation * -gaim_find_conversation(GaimConversationType type, - const char *name) -{ - GaimConversation *c = NULL; - gchar *name1; - const gchar *name2; - GList *cnv; - - g_return_val_if_fail(name != NULL, NULL); - - name1 = g_strdup(gaim_normalize(NULL, name)); - - for (cnv = gaim_get_conversations(); cnv != NULL; cnv = cnv->next) { - c = (GaimConversation *)cnv->data; - name2 = gaim_normalize(NULL, gaim_conversation_get_name(c)); - - if (((type == GAIM_CONV_ANY) || (type == gaim_conversation_get_type(c))) && - !gaim_utf8_strcasecmp(name1, name2)) - break; - - c = NULL; - } - - g_free(name1); - - return c; -} - GaimConversation * gaim_find_conversation_with_account(GaimConversationType type, const char *name,