changeset 5709:2c4e7df0a688

[gaim-migrate @ 6130] Removed the signon/signoff callbacks when the account editor is closed. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 03 Jun 2003 11:24:34 +0000
parents 1d5c5acfc846
children dbac958d8937
files src/gtkaccount.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkaccount.c	Tue Jun 03 11:19:17 2003 +0000
+++ b/src/gtkaccount.c	Tue Jun 03 11:24:34 2003 +0000
@@ -1215,6 +1215,9 @@
 	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 &&
 		mainwindow == NULL && gaim_connections_get_all() == NULL) {