# HG changeset patch # User Will Thompson # Date 1196552541 0 # Node ID 1c9f741ee9c7c5b3276dd372e79bf04a37db7189 # Parent 975336b01aa9915706c79f8ecae2335e688190d5 Remove dead code. diff -r 975336b01aa9 -r 1c9f741ee9c7 libpurple/connection.c --- a/libpurple/connection.c Sat Dec 01 23:40:13 2007 +0000 +++ b/libpurple/connection.c Sat Dec 01 23:42:21 2007 +0000 @@ -219,9 +219,6 @@ { PurpleAccount *account; GSList *buddies; -#if 0 - GList *wins; -#endif PurplePluginProtocolInfo *prpl_info = NULL; gboolean remove = FALSE; @@ -269,19 +266,6 @@ purple_signal_emit(purple_connections_get_handle(), "signed-off", gc); -#if 0 - /* see comment later in file on if 0'd same code */ - /* - * XXX This is a hack! Remove this and replace it with a better event - * notification system. - */ - for (wins = purple_get_windows(); wins != NULL; wins = wins->next) { - PurpleConvWindow *win = (PurpleConvWindow *)wins->data; - purple_conversation_update(purple_conv_window_get_conversation_at(win, 0), - PURPLE_CONV_ACCOUNT_OFFLINE); - } -#endif - purple_account_request_close_with_account(account); purple_request_close_with_handle(gc); purple_notify_close_with_handle(gc);