aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-10-10 07:27:16 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-10-10 07:27:16 +0000
commit632b464ccd80368519427a5563749838d69f7846 (patch)
treed9a4f7b1bda26894f27bc82af8fff3b2213773c1
parent5be8bc64abeef5279a06b492f0e9a8cdd141e188 (diff)
enable fast clear of summary view if GTK+ >= 2.10.0.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1223 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.ja5
-rw-r--r--src/gtkutils.c2
3 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index af6e0335..de09e637 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2006-10-10
+ * src/gtkutils.c: gtkut_tree_view_fast_clear(): enable fast clear
+ if GTK+ >= 2.10.0.
+
+2006-10-10
+
* src/headerview.c: headerview_init()
src/alertpanel.c: alertpanel_create(): win32: modified the style of
labels which are set not to have focus to make the selection visible.
diff --git a/ChangeLog.ja b/ChangeLog.ja
index 44c97e08..c250c9b6 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,5 +1,10 @@
2006-10-10
+ * src/gtkutils.c: gtkut_tree_view_fast_clear(): GTK+ >= 2.10.0 の場合
+ 高速クリアを有効にするようにした。
+
+2006-10-10
+
* src/headerview.c: headerview_init()
src/alertpanel.c: alertpanel_create(): win32: フォーカスを持たない
ように指定されたラベルのスタイルを選択部が見えるように修正。
diff --git a/src/gtkutils.c b/src/gtkutils.c
index 3aa20958..bd3eba69 100644
--- a/src/gtkutils.c
+++ b/src/gtkutils.c
@@ -625,7 +625,7 @@ void gtkut_tree_view_scroll_to_cell(GtkTreeView *treeview, GtkTreePath *path,
void gtkut_tree_view_fast_clear(GtkTreeView *treeview, GtkTreeStore *store)
{
-#if GTK_CHECK_VERSION(2, 8, 0)
+#if GTK_CHECK_VERSION(2, 8, 0) && !GTK_CHECK_VERSION(2, 10, 0)
gtk_tree_store_clear(store);
#else
/* this is faster than above, but it seems to trigger crashes in