sanity check for bug 601605
authorColin Leroy <colin@colino.net>
Thu, 29 Aug 2002 07:45:41 +0000 (07:45 +0000)
committerColin Leroy <colin@colino.net>
Thu, 29 Aug 2002 07:45:41 +0000 (07:45 +0000)
ChangeLog.claws
configure.in
src/summaryview.c

index 0711312..0efcce0 100644 (file)
@@ -1,3 +1,9 @@
+2002-08-29 [colin]     0.8.2claws8
+
+       * src/summaryview.c
+               Added a sanity check in summary_select_thread
+               Should fix bug 601605
+
 2002-08-29 [colin]     0.8.2claws7
 
        * src/main.c
index 65f87a7..6c413f0 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=8
 MICRO_VERSION=2
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws7
+EXTRA_VERSION=claws8
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index cab3fb0..98c22d3 100644 (file)
@@ -5013,6 +5013,8 @@ void summary_select_thread(SummaryView *summaryview)
        GtkCTreeNode *node = summaryview->selected;
        GList *cur;
 
+       g_return_if_fail(node != NULL);
+       
        while (GTK_CTREE_ROW(node)->parent != NULL)
                node = GTK_CTREE_ROW(node)->parent;