aboutsummaryrefslogtreecommitdiff
path: root/src/gtkutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtkutils.c')
-rw-r--r--src/gtkutils.c2
1 files changed, 1 insertions, 1 deletions
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