summaryrefslogtreecommitdiff
path: root/src/disks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/disks.cpp')
-rw-r--r--src/disks.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/disks.cpp b/src/disks.cpp
index a0159ba..a28983a 100644
--- a/src/disks.cpp
+++ b/src/disks.cpp
@@ -334,7 +334,9 @@ create_disk_view(ProcData *procdata)
g_signal_connect(G_OBJECT(disk_tree), "row-activated", G_CALLBACK(open_dir), NULL);
procdata->disk_list = disk_tree;
gtk_container_add(GTK_CONTAINER(scrolled), disk_tree);
+#if !GTK_CHECK_VERSION(3,0,0)
gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(disk_tree), TRUE);
+#endif
g_object_unref(G_OBJECT(model));
/* icon + device */