summaryrefslogtreecommitdiff
path: root/src/openfiles.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openfiles.cpp')
-rw-r--r--src/openfiles.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openfiles.cpp b/src/openfiles.cpp
index 2c3020c..891ff2f 100644
--- a/src/openfiles.cpp
+++ b/src/openfiles.cpp
@@ -260,7 +260,9 @@ create_openfiles_tree (ProcData *procdata)
);
tree = gtk_tree_view_new_with_model (GTK_TREE_MODEL (model));
+#if !GTK_CHECK_VERSION(3,0,0)
gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (tree), TRUE);
+#endif
g_object_unref (G_OBJECT (model));
for (i = 0; i < NUM_OPENFILES_COL-1; i++) {