aboutsummaryrefslogtreecommitdiff
path: root/src/summaryview.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-01-19 13:54:16 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-01-19 13:54:16 +0000
commit7aa37911d28c93c27ed5a95c7dffacfaf47f79db (patch)
tree59c2f247b622995fd3cf9e1ecab9cd217a651104 /src/summaryview.c
parent33b5106f933598d4d9afdd3a1548d39feab5bcbd (diff)
fixed crash on quick search.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@911 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/summaryview.c')
-rw-r--r--src/summaryview.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/summaryview.c b/src/summaryview.c
index 18184456..16dd461e 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -4852,6 +4852,7 @@ void summary_qsearch_reset(SummaryView *summaryview)
GTK_TREE_MODEL(summaryview->store));
summaryview->total_size = 0;
summary_set_tree_model_from_list(summaryview, summaryview->all_mlist);
+ summary_selection_list_free(summaryview);
main_window_cursor_normal(summaryview->mainwin);
summary_unlock(summaryview);
@@ -4964,6 +4965,7 @@ void summary_qsearch(SummaryView *summaryview)
GTK_TREE_MODEL(summaryview->store));
summaryview->total_size = 0;
summary_set_tree_model_from_list(summaryview, flt_mlist);
+ summary_selection_list_free(summaryview);
g_signal_handlers_unblock_matched(G_OBJECT(summaryview->treeview),
(GSignalMatchType)G_SIGNAL_MATCH_DATA,