sanity check for bug 601605
[claws.git] / src / summaryview.c
index cab3fb0778b27cc102d4e8d5e181859f5cba71e4..98c22d34081ee1141aeaf3185450fe0d27b5281f 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;