summaryrefslogtreecommitdiff
path: root/src/lsof.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lsof.cpp')
-rw-r--r--src/lsof.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lsof.cpp b/src/lsof.cpp
index aaf2fbd..6854de2 100644
--- a/src/lsof.cpp
+++ b/src/lsof.cpp
@@ -248,8 +248,9 @@ void procman_lsof(ProcData *procdata)
GtkWidget *tree = gtk_tree_view_new_with_model(GTK_TREE_MODEL(model));
g_object_unref(model);
+#if !GTK_CHECK_VERSION(3,0,0)
gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(tree), TRUE);
-
+#endif
GtkTreeViewColumn *column;
GtkCellRenderer *renderer;