summaryrefslogtreecommitdiff
path: root/src/fr-window.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-05-25 23:17:10 +0200
committerraveit65 <[email protected]>2016-05-26 01:51:21 +0200
commitb961bb3d4daf980560ef79af178ae573f3e4da72 (patch)
tree92f28f87ee2fe92e0d5c06d35b3d1727c1ec8635 /src/fr-window.c
parent05ab3f2cd3b73b3c9c089a918aad4b4e83a587ac (diff)
downloadengrampa-b961bb3d4daf980560ef79af178ae573f3e4da72.tar.bz2
engrampa-b961bb3d4daf980560ef79af178ae573f3e4da72.tar.xz
GTK3 fr-window: don't use deprecated gtk_tree_view_set_rules_hint
Diffstat (limited to 'src/fr-window.c')
-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);