From: Mark D. <the...@us...> - 2005-10-26 05:40:13
|
Update of /cvsroot/gaim/gaim/src/protocols/toc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19103/src/protocols/toc Modified Files: toc.c Log Message: Don't pass our active GaimStatus to the login PRPL callback... It's not used by most PRPLS, and that ones that DO use it probably shouldn't. Ideally the PRPLs won't store any info about their own status, message, etc. All that should be in the core status API, and when it needs some info it should query the core to get it. Index: toc.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/toc/toc.c,v retrieving revision 1.180 retrieving revision 1.181 diff -u -d -p -r1.180 -r1.181 --- toc.c 12 Oct 2005 02:47:31 -0000 1.180 +++ toc.c 26 Oct 2005 05:40:02 -0000 1.181 @@ -125,7 +125,7 @@ static void toc_callback(gpointer, gint, /* ok. this function used to take username/password, and return 0 on success. * now, it takes username/password, and returns NULL on error or a new gaim_connection * on success. */ -static void toc_login(GaimAccount *account, GaimStatus *status) +static void toc_login(GaimAccount *account) { GaimConnection *gc; struct toc_data *tdt; |