changeset 8454:a94f46d89b61

[gaim-migrate @ 9184] Fix the following crizzle my nizzle: 1) Start Gaim 2) Open the accounts editor 3) Modify an account 4) Close the accounts editor 5) Cancel the modify account dialog 6) Wait 7) Die My pinky is purple. Icing reduces swelling. Less swelling allows for better blood flow. Better blood flow allows for more oxygen in my pinky. Lack of oxygen makes things purple. Next time I attack a frisbee with my pinky I'm going to put ice on it afterwards. Now I know, and knowing is half the battle! committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 15 Mar 2004 23:32:39 +0000
parents cd54c91a9f03
children 622fd4e800b4
files src/gtkaccount.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkaccount.c	Mon Mar 15 21:46:21 2004 +0000
+++ b/src/gtkaccount.c	Mon Mar 15 23:32:39 2004 +0000
@@ -954,7 +954,8 @@
 account_win_destroy_cb(GtkWidget *w, GdkEvent *event,
 					   AccountPrefsDialog *dialog)
 {
-	g_hash_table_remove(accounts_window->account_pref_wins, dialog->account);
+	if (accounts_window != NULL)
+		g_hash_table_remove(accounts_window->account_pref_wins, dialog->account);
 
 	gtk_widget_destroy(dialog->window);