comparison src/connection.c @ 6533:6a34b7097149

[gaim-migrate @ 7050] Sometimes, when signals aren't emitted when you think they should be, it's because other parts of the program think they're being emitted when they are being emitted and not when you think they should be. committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Thu, 21 Aug 2003 01:24:49 +0000
parents c8e31153eea7
children 800ef4a51096
comparison
equal deleted inserted replaced
6532:23a517088ebb 6533:6a34b7097149
186 186
187 gaim_signal_emit(gaim_connections_get_handle(), "signing-off", gc); 187 gaim_signal_emit(gaim_connections_get_handle(), "signing-off", gc);
188 188
189 serv_close(gc); 189 serv_close(gc);
190 190
191 connections = g_list_remove(connections, gc);
192
191 gaim_connection_set_state(gc, GAIM_DISCONNECTED); 193 gaim_connection_set_state(gc, GAIM_DISCONNECTED);
192 194
193 gaim_signal_emit(gaim_connections_get_handle(), "signed-off", gc); 195 gaim_signal_emit(gaim_connections_get_handle(), "signed-off", gc);
194
195 connections = g_list_remove(connections, gc);
196 196
197 system_log(log_signoff, gc, NULL, 197 system_log(log_signoff, gc, NULL,
198 OPT_LOG_BUDDY_SIGNON | OPT_LOG_MY_SIGNON); 198 OPT_LOG_BUDDY_SIGNON | OPT_LOG_MY_SIGNON);
199 199
200 /* 200 /*