diff src/protocols/yahoo/yahoo.c @ 11837:fa742ad8068c

[gaim-migrate @ 14128] 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. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 26 Oct 2005 05:40:02 +0000
parents b4602ccb4e69
children ded0ec14f5d3
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Wed Oct 26 05:22:26 2005 +0000
+++ b/src/protocols/yahoo/yahoo.c	Wed Oct 26 05:40:02 2005 +0000
@@ -2444,9 +2444,10 @@
 }
 
 
-static void yahoo_login(GaimAccount *account, GaimStatus *status) {
+static void yahoo_login(GaimAccount *account) {
 	GaimConnection *gc = gaim_account_get_connection(account);
 	struct yahoo_data *yd = gc->proto_data = g_new0(struct yahoo_data, 1);
+	GaimStatus *status = gaim_account_get_active_status(account);
 	const char *id = gaim_status_get_id(status);
 	gc->flags |= GAIM_CONNECTION_HTML | GAIM_CONNECTION_NO_BGCOLOR | GAIM_CONNECTION_NO_URLDESC;