im.pidgin.pidgin: e05eec5600476b95f0b6c2876bb92323027643f7

resiak at soc.pidgin.im resiak at soc.pidgin.im
Sat Dec 1 18:50:57 EST 2007


-----------------------------------------------------------------
Revision: e05eec5600476b95f0b6c2876bb92323027643f7
Ancestor: 8b1ab6eb99f716b56043135f3510193ac2a9943f
Author: resiak at soc.pidgin.im
Date: 2007-12-01T23:42:21
Branch: im.pidgin.pidgin

Modified files:
        libpurple/connection.c

ChangeLog: 

Remove dead code.

-------------- next part --------------
============================================================
--- libpurple/connection.c	828c39f74a990161b7c0ce28a29938ac3a3c6645
+++ libpurple/connection.c	6f67862ae0e5c8427066c993b09e7a33c40e26d0
@@ -219,9 +219,6 @@ purple_connection_destroy(PurpleConnecti
 {
 	PurpleAccount *account;
 	GSList *buddies;
-#if 0
-	GList *wins;
-#endif
 	PurplePluginProtocolInfo *prpl_info = NULL;
 	gboolean remove = FALSE;
 
@@ -269,19 +266,6 @@ purple_connection_destroy(PurpleConnecti
 
 	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);


More information about the Commits mailing list