2005-10-26 [wwp] 1.9.15cvs110
authorTristan Chabredier <wwp@claws-mail.org>
Wed, 26 Oct 2005 07:45:50 +0000 (07:45 +0000)
committerTristan Chabredier <wwp@claws-mail.org>
Wed, 26 Oct 2005 07:45:50 +0000 (07:45 +0000)
* src/folder.c
* src/manual.c
* src/summaryview.c
fix uninitialized pointers in the folder updating hook
(thanks to Colin)

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

index 391af1f..5134607 100644 (file)
@@ -1,3 +1,11 @@
+2005-10-26 [wwp]       1.9.15cvs110
+
+       * src/folder.c
+       * src/manual.c
+       * src/summaryview.c
+               fix uninitialized pointers in the folder updating hook
+               (thanks to Colin)
+
 2005-10-25 [mones]     1.9.15cvs109
 
        * manual/faq.xml
index ed61b60..e8bc178 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.22.2.5 -r 1.22.2.6 src/addrbook.c;  cvs diff -u -r 1.28.2.11 -r 1.28.2.12 src/addrindex.c;  cvs diff -u -r 1.382.2.188 -r 1.382.2.189 src/compose.c;  cvs diff -u -r 1.49.2.64 -r 1.49.2.65 src/procmime.c;  ) > 1.9.15cvs107.patchset
 ( cvs diff -u -r 1.382.2.189 -r 1.382.2.190 src/compose.c;  ) > 1.9.15cvs108.patchset
 ( cvs diff -u -r 1.1.2.1 -r 1.1.2.2 manual/Makefile;  cvs diff -u -r 1.1.2.1 -r 1.1.2.2 manual/faq.xml;  diff -u /dev/null manual/dtd/manual.dsl;  ) > 1.9.15cvs109.patchset
+( cvs diff -u -r 1.213.2.66 -r 1.213.2.67 src/folder.c;  cvs diff -u -r 1.11.2.2 -r 1.11.2.3 src/manual.c;  cvs diff -u -r 1.395.2.141 -r 1.395.2.142 src/summaryview.c;  ) > 1.9.15cvs110.patchset
index 57ad684..35371a5 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=15
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=109
+EXTRA_VERSION=110
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index cb6574b..33153e5 100644 (file)
@@ -3572,6 +3572,7 @@ static void folder_item_update_func(FolderItem *item, gpointer data)
        if (item->update_flags) {
                source.item = item;
                source.update_flags = item->update_flags;
+               source.msg = NULL;
                hooks_invoke(FOLDER_ITEM_UPDATE_HOOKLIST, &source);                             
                item->update_flags = 0;
        }
index de5e65d..ddd0754 100644 (file)
 
 #include <glib.h>
 #include <string.h>
-#include <locale.h>
+
+#if HAVE_LOCALE_H
+#  include <locale.h>
+#endif
+
 
 #include "prefs_common.h"
 #include "manual.h"
index 4c7d733..638af94 100644 (file)
@@ -5438,6 +5438,7 @@ void summary_toggle_show_read_messages(SummaryView *summaryview)
 
        source.item = summaryview->folder_item;
        source.update_flags = F_ITEM_UPDATE_NAME;
+       source.msg = NULL;
        hooks_invoke(FOLDER_ITEM_UPDATE_HOOKLIST, &source);
        summary_show(summaryview, summaryview->folder_item);
 }