2009-01-27 [paul] 3.7.0cvs43
authorPaul Mangan <paul@claws-mail.org>
Tue, 27 Jan 2009 09:08:50 +0000 (09:08 +0000)
committerPaul Mangan <paul@claws-mail.org>
Tue, 27 Jan 2009 09:08:50 +0000 (09:08 +0000)
* src/folder.c
fix crash when right-clicking in summaryview when
processing is active

ChangeLog
PATCHSETS
configure.ac
src/folder.c

index 8a67d6e159825d6388532cf73e4a8edb43d6c2ba..0053d16330e79cf9332bef40be5138cf8fef53e8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-01-27 [paul]      3.7.0cvs43
+
+       * src/folder.c
+               fix crash when right-clicking in summaryview when
+               processing is active
+
 2009-01-22 [colin]     3.7.0cvs42
 
        * src/compose.c
index d59bc39c8ff63b6649795e934ea662e840e66626..d415797ece5fab17eb292b1c198a73f76cbe0643 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.61.2.92 -r 1.61.2.93 src/account.c;  cvs diff -u -r 1.60.2.129 -r 1.60.2.130 src/addressbook.c;  ) > 3.7.0cvs40.patchset
 ( cvs diff -u -r 1.18.2.15 -r 1.18.2.16 src/addressbook.h;  ) > 3.7.0cvs41.patchset
 ( cvs diff -u -r 1.382.2.495 -r 1.382.2.496 src/compose.c;  cvs diff -u -r 1.10.2.18 -r 1.10.2.19 src/privacy.c;  cvs diff -u -r 1.10.2.19 -r 1.10.2.20 src/privacy.h;  ) > 3.7.0cvs42.patchset
+( cvs diff -u -r 1.213.2.187 -r 1.213.2.188 src/folder.c;  ) > 3.7.0cvs43.patchset
index 4fccf6fdde195ee3949c414bcb7d12b6a5f6c543..b4b59d9fd69411b7588ac65f2590168dab5b8ab8 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=7
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=42
+EXTRA_VERSION=43
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 2a7c9320d047efac446787df26f10b904fac2e90..d3ad2b7cb37eba907b47c5cc23081d17ff27220a 100644 (file)
@@ -4428,6 +4428,8 @@ gboolean folder_has_parent_of_type(FolderItem *item,
 {
        FolderItem *cur = item;
 
+       if (!item)
+               return FALSE;
        /* if we already know it, make it short */
        if (item->parent_stype != -1) {
                return (item->parent_stype == type);