changeset 5725:d1aecc84319c

[gaim-migrate @ 6147] fixination committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Tue, 03 Jun 2003 21:35:04 +0000
parents c4e0b20cf466
children b3d7ba9af03d
files src/connection.c src/gtkaccount.c
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/connection.c	Tue Jun 03 21:26:03 2003 +0000
+++ b/src/connection.c	Tue Jun 03 21:35:04 2003 +0000
@@ -333,8 +333,6 @@
 
 	if (ops != NULL && ops->disconnected != NULL)
 		ops->disconnected(gc, text);
-
-	gaim_connection_destroy(gc);
 }
 
 void
--- a/src/gtkaccount.c	Tue Jun 03 21:26:03 2003 +0000
+++ b/src/gtkaccount.c	Tue Jun 03 21:35:04 2003 +0000
@@ -1219,11 +1219,11 @@
 static gint
 __accedit_win_destroy_cb(GtkWidget *w, GdkEvent *event, AccountsDialog *dialog)
 {
+	gaim_signals_disconnect_by_handle(dialog);
+
 	g_free(accounts_dialog);
 	accounts_dialog = NULL;
 
-	gaim_signal_disconnect(NULL, event_signon,  __signed_on_off_cb);
-	gaim_signal_disconnect(NULL, event_signoff, __signed_on_off_cb);
 
 	/* See if we're the main window here. */
 	if (GAIM_GTK_BLIST(gaim_get_blist())->window == NULL &&