summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fr-window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fr-window.c b/src/fr-window.c
index bd07206..fd5a703 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -5636,7 +5636,9 @@ fr_window_construct (FrWindow *window)
g_object_set_data (G_OBJECT (window->priv->list_store), "FrWindow", window);
window->priv->list_view = gtk_tree_view_new_with_model (GTK_TREE_MODEL (window->priv->list_store));
+#if !GTK_CHECK_VERSION (3, 0, 0)
gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (window->priv->list_view), TRUE);
+#endif
add_file_list_columns (window, GTK_TREE_VIEW (window->priv->list_view));
gtk_tree_view_set_enable_search (GTK_TREE_VIEW (window->priv->list_view),
TRUE);