From: Mark D. <the...@us...> - 2004-03-15 23:41:51
|
Update of /cvsroot/gaim/gaim/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4217/src Modified Files: gtkaccount.c Log Message: 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! Index: gtkaccount.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/gtkaccount.c,v retrieving revision 1.118 retrieving revision 1.119 diff -u -d -p -r1.118 -r1.119 --- gtkaccount.c 8 Mar 2004 03:02:11 -0000 1.118 +++ gtkaccount.c 15 Mar 2004 23:32:39 -0000 1.119 @@ -954,7 +954,8 @@ static void 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); |