Mercurial > pidgin
diff src/protocols/oscar/oscar.c @ 8950:80b4c956d7ae
[gaim-migrate @ 9722]
Remove the prpl callbacks set_dir, get_dir and dir_search.
These
1) Were not called by anything
2) Are AIM-centric
3) Should be Account Actions, if implemented
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 16 May 2004 07:19:56 +0000 |
parents | 00138e366ef8 |
children | 4ff4c34b7500 |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Sun May 16 06:50:45 2004 +0000 +++ b/src/protocols/oscar/oscar.c Sun May 16 07:19:56 2004 +0000 @@ -4665,6 +4665,7 @@ aim_locate_getinfoshort(od->sess, name, 0x00000003); } +#if 0 static void oscar_set_dir(GaimConnection *gc, const char *first, const char *middle, const char *last, const char *maiden, const char *city, const char *state, const char *country, int web) { /* XXX - some of these things are wrong, but i'm lazy */ @@ -4672,6 +4673,7 @@ aim_locate_setdirinfo(od->sess, first, middle, last, maiden, NULL, NULL, city, state, NULL, 0, web); } +#endif static void oscar_set_idle(GaimConnection *gc, int time) { OscarData *od = (OscarData *)gc->proto_data; @@ -4872,13 +4874,6 @@ aim_im_warn(od->sess, od->conn, name, anon ? AIM_WARN_ANON : 0); } -static void oscar_dir_search(GaimConnection *gc, const char *first, const char *middle, const char *last, - const char *maiden, const char *city, const char *state, const char *country, const char *email) { - OscarData *od = (OscarData *)gc->proto_data; - if (strlen(email)) - aim_search_address(od->sess, od->conn, email); -} - static void oscar_add_buddy(GaimConnection *gc, const char *name, GaimGroup *g) { OscarData *od = (OscarData *)gc->proto_data; GaimBuddy *b; @@ -6687,7 +6682,9 @@ static void search_by_email_cb(GaimConnection *gc, const char *email) { - serv_dir_search(gc, "", "", "", "", "", "", "", email); + OscarData *od = (OscarData *)gc->proto_data; + + aim_search_address(od->sess, od->conn, email); } static void oscar_show_find_email(GaimConnection *gc) @@ -6941,9 +6938,6 @@ oscar_send_typing, oscar_get_info, oscar_set_away, - oscar_set_dir, - NULL, - oscar_dir_search, oscar_set_idle, oscar_change_passwd, oscar_add_buddy,