comparison src/protocols/yahoo/yahoo.c @ 10401:3e4ecbdf8d0a

[gaim-migrate @ 11638] Stuff compiles again, if that's what you wanted stuff to do. It works a bit too. I fixed one crash in oscar, only to reveal another that I didnn't fix (tooltips). Most protocols still need updating to actually log in in the specified state, TCL needs some love for gaim_account_connect, perl probably does too but that needs more love anyway. The reconnect plugin could be more intelligent too, as could gaim-remote. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Tue, 21 Dec 2004 01:48:30 +0000
parents 6a043ae92db6
children 1a97d5e88d12
comparison
equal deleted inserted replaced
10400:6a043ae92db6 10401:3e4ecbdf8d0a
2220 2220
2221 2221
2222 static void yahoo_login(GaimAccount *account, GaimStatus *status) { 2222 static void yahoo_login(GaimAccount *account, GaimStatus *status) {
2223 GaimConnection *gc = gaim_account_get_connection(account); 2223 GaimConnection *gc = gaim_account_get_connection(account);
2224 struct yahoo_data *yd = gc->proto_data = g_new0(struct yahoo_data, 1); 2224 struct yahoo_data *yd = gc->proto_data = g_new0(struct yahoo_data, 1);
2225 char *id = gaim_status_get_id(status); 2225 const char *id = gaim_status_get_id(status);
2226 gc->flags |= GAIM_CONNECTION_HTML | GAIM_CONNECTION_NO_BGCOLOR | GAIM_CONNECTION_NO_URLDESC; 2226 gc->flags |= GAIM_CONNECTION_HTML | GAIM_CONNECTION_NO_BGCOLOR | GAIM_CONNECTION_NO_URLDESC;
2227 2227
2228 gaim_connection_update_progress(gc, _("Connecting"), 1, 2); 2228 gaim_connection_update_progress(gc, _("Connecting"), 1, 2);
2229 2229
2230 gaim_connection_set_display_name(gc, gaim_account_get_username(account)); 2230 gaim_connection_set_display_name(gc, gaim_account_get_username(account));