comparison src/connection.c @ 5615:6500a6c8d679

[gaim-migrate @ 6022] Checkboxes update! committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 31 May 2003 18:35:22 +0000
parents 3a9b54f260e3
children 70ae81fc802f
comparison
equal deleted inserted replaced
5614:ff89436b30d2 5615:6500a6c8d679
113 g_return_if_fail(gaim_connection_get_state(gc) != GAIM_DISCONNECTED); 113 g_return_if_fail(gaim_connection_get_state(gc) != GAIM_DISCONNECTED);
114 114
115 if (gaim_connection_get_state(gc) != GAIM_CONNECTING) 115 if (gaim_connection_get_state(gc) != GAIM_CONNECTING)
116 gaim_blist_remove_account(gaim_connection_get_account(gc)); 116 gaim_blist_remove_account(gaim_connection_get_account(gc));
117 117
118 serv_close(gc);
119
120 gaim_connection_set_state(gc, GAIM_DISCONNECTED);
121
118 gaim_event_broadcast(event_signoff, gc); 122 gaim_event_broadcast(event_signoff, gc);
119 system_log(log_signoff, gc, NULL, OPT_LOG_BUDDY_SIGNON | OPT_LOG_MY_SIGNON); 123 system_log(log_signoff, gc, NULL, OPT_LOG_BUDDY_SIGNON | OPT_LOG_MY_SIGNON);
120
121 serv_close(gc);
122
123 gaim_connection_set_state(gc, GAIM_DISCONNECTED);
124 124
125 /* XXX Evil UI stuff!! */ 125 /* XXX Evil UI stuff!! */
126 do_away_menu(); 126 do_away_menu();
127 do_proto_menu(); 127 do_proto_menu();
128 128