Mercurial > pidgin
diff src/protocols/irc/irc.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 | ddb7520d57bd |
| children | 8bcccf2988fa |
line wrap: on
line diff
--- a/src/protocols/irc/irc.c Wed Oct 26 05:22:26 2005 +0000 +++ b/src/protocols/irc/irc.c Wed Oct 26 05:40:02 2005 +0000 @@ -44,7 +44,7 @@ static GList *irc_status_types(GaimAccount *account); static GList *irc_actions(GaimPlugin *plugin, gpointer context); /* static GList *irc_chat_info(GaimConnection *gc); */ -static void irc_login(GaimAccount *account, GaimStatus *status); +static void irc_login(GaimAccount *account); static void irc_login_cb_ssl(gpointer data, GaimSslConnection *gsc, GaimInputCondition cond); static void irc_login_cb(gpointer data, gint source, GaimInputCondition cond); static void irc_ssl_connect_failure(GaimSslConnection *gsc, GaimSslErrorType error, gpointer data); @@ -223,7 +223,7 @@ return defaults; } -static void irc_login(GaimAccount *account, GaimStatus *status) +static void irc_login(GaimAccount *account) { GaimConnection *gc; struct irc_conn *irc;
