# HG changeset patch # User Mark Doliner # Date 1079393559 0 # Node ID a94f46d89b611e01e09f570ca5f753f3ef215573 # Parent cd54c91a9f03c4133cd3c8cc733d2c7ba926696d [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 diff -r cd54c91a9f03 -r a94f46d89b61 src/gtkaccount.c --- 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);