From 42c8cad936675aa4bfaae1d7541c5167ac8b2caa Mon Sep 17 00:00:00 2001 From: Colin Leroy Date: Mon, 13 Feb 2006 17:04:54 +0000 Subject: [PATCH] 2006-02-13 [cleroy] 2.0.0cvs47 * src/mainwindow.c Fix exit crash --- ChangeLog | 5 +++++ PATCHSETS | 1 + configure.ac | 2 +- src/mainwindow.c | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f7aab9b85..d87aa72b2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-02-13 [cleroy] 2.0.0cvs47 + + * src/mainwindow.c + Fix exit crash + 2006-02-13 [wwp] 2.0.0cvs46 * src/plugins/pgpcore/prefs_gpg.c diff --git a/PATCHSETS b/PATCHSETS index 28570a5e2..f9f81cdd1 100644 --- a/PATCHSETS +++ b/PATCHSETS @@ -1230,3 +1230,4 @@ ( cvs diff -u -r 1.3.2.38 -r 1.3.2.39 src/prefs_themes.c; ) > 2.0.0cvs44.patchset ( cvs diff -u -r 1.207.2.88 -r 1.207.2.89 src/folderview.c; cvs diff -u -r 1.115.2.74 -r 1.115.2.75 src/main.c; cvs diff -u -r 1.274.2.95 -r 1.274.2.96 src/mainwindow.c; ) > 2.0.0cvs45.patchset ( cvs diff -u -r 1.1.2.5 -r 1.1.2.6 src/plugins/pgpcore/prefs_gpg.c; ) > 2.0.0cvs46.patchset +( cvs diff -u -r 1.274.2.96 -r 1.274.2.97 src/mainwindow.c; ) > 2.0.0cvs47.patchset diff --git a/configure.ac b/configure.ac index bd79b6f03..7a666a62d 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=0 MICRO_VERSION=0 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=46 +EXTRA_VERSION=47 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/mainwindow.c b/src/mainwindow.c index feed330bf..b11238afc 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -1617,7 +1617,7 @@ void main_window_get_size(MainWindow *mainwin) { GtkAllocation *allocation; - if (mainwin->messageview == NULL) { + if (mainwin_list == NULL || mainwin->messageview == NULL) { debug_print("called after messageview " "has been deallocated!\n"); return; -- 2.25.1