diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.ja | 5 | ||||
-rw-r--r-- | src/summaryview.c | 2 |
3 files changed, 11 insertions, 1 deletions
@@ -1,5 +1,10 @@ 2006-10-19 + * src/summaryview.c: summary_unset_sort_column_id(): fixed crash when + using GTK+ 2.4.x. + +2006-10-19 + * sylpheed-mailto-protocol.reg: added values for start menu (thanks to Fukasawa). diff --git a/ChangeLog.ja b/ChangeLog.ja index 71cc2bf6..00dd72a9 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,5 +1,10 @@ 2006-10-19 + * src/summaryview.c: summary_unset_sort_column_id(): GTK+ 2.4.x 使用時 + にクラッシュするバグを修正。 + +2006-10-19 + * sylpheed-mailto-protocol.reg: スタートメニュー用の値を追加 (深澤さん thanks)。 diff --git a/src/summaryview.c b/src/summaryview.c index 8ed02a97..b333f582 100644 --- a/src/summaryview.c +++ b/src/summaryview.c @@ -903,7 +903,7 @@ static void summary_unset_sort_column_id(SummaryView *summaryview) if (gtk_tree_sortable_get_sort_column_id (GTK_TREE_SORTABLE(summaryview->store), &id, &order) && - id < N_SUMMARY_VISIBLE_COLS) { + id >= 0 && id < N_SUMMARY_VISIBLE_COLS) { GtkTreeViewColumn *column = summaryview->columns[id]; column->sort_column_id = -1; gtk_tree_view_column_set_sort_indicator(column, FALSE); |