2005-10-13 [colin] 1.9.15cvs42
authorColin Leroy <colin@colino.net>
Thu, 13 Oct 2005 18:15:43 +0000 (18:15 +0000)
committerColin Leroy <colin@colino.net>
Thu, 13 Oct 2005 18:15:43 +0000 (18:15 +0000)
* src/summaryview.c
Fix crash when quicksearch's hidden
at startup

ChangeLog-gtk2.claws
PATCHSETS
configure.ac
src/summaryview.c

index 57ddbcc071c5f25a7ef9966ad79ddfdca4e97f43..fa76dfb809184f2bf3bdd070f17e72af4b89ed06 100644 (file)
@@ -1,3 +1,9 @@
+2005-10-13 [colin]     1.9.15cvs42
+
+       * src/summaryview.c
+               Fix crash when quicksearch's hidden 
+               at startup
+
 2005-10-13 [colin]     1.9.15cvs41
 
        * src/compose.c
index da5146652cdc7f5f1817e6dafbfbb095d93d4720..a460fcf3da2b7f96337d07b6746d0232e58385bc 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.1.2.22 -r 1.1.2.23 src/gtk/quicksearch.c;  ) > 1.9.15cvs39.patchset
 ( cvs diff -u -r 1.179.2.78 -r 1.179.2.79 src/imap.c;  ) > 1.9.15cvs40.patchset
 ( cvs diff -u -r 1.382.2.183 -r 1.382.2.184 src/compose.c;  ) > 1.9.15cvs41.patchset
+( cvs diff -u -r 1.395.2.136 -r 1.395.2.137 src/summaryview.c;  ) > 1.9.15cvs42.patchset
index bd8cf3aff59b6056c490e1d7ee5461deedc5c916..67c585eab9176a4ea1d04b43f6c66ed1b7b46299 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=15
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=41
+EXTRA_VERSION=42
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index b3d209791e547b9d0a17720f62e7acd0e1271858..71dd4c3a7d78a549c91c84d79cb66220992a946e 100644 (file)
@@ -814,6 +814,9 @@ gboolean summary_show(SummaryView *summaryview, FolderItem *item)
 
        if (summary_is_locked(summaryview)) return FALSE;
 
+       if (!summaryview->mainwin)
+               return;
+
        inc_lock();
        summary_lock(summaryview);