summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/proctable.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/proctable.cpp b/src/proctable.cpp
index 94bf63f..7b309da 100644
--- a/src/proctable.cpp
+++ b/src/proctable.cpp
@@ -502,14 +502,11 @@ proctable_new (ProcData * const procdata)
/* Override column settings by hiding this column if it's meaningless: */
if (!can_show_security_context_column ()) {
- GtkTreeViewColumn *column;
column = my_gtk_tree_view_get_column_with_sort_column_id (GTK_TREE_VIEW (proctree), COL_SECURITYCONTEXT);
gtk_tree_view_column_set_visible (column, FALSE);
}
if (!cgroups_enabled()) {
- GtkTreeViewColumn *column;
-
column = my_gtk_tree_view_get_column_with_sort_column_id(GTK_TREE_VIEW(proctree), COL_CGROUP);
gtk_tree_view_column_set_visible(column, FALSE);
}
@@ -518,8 +515,6 @@ proctable_new (ProcData * const procdata)
if (!LOGIND_RUNNING())
#endif
{
- GtkTreeViewColumn *column;
-
for (i = COL_UNIT; i <= COL_OWNER; i++) {
column = my_gtk_tree_view_get_column_with_sort_column_id(GTK_TREE_VIEW(proctree), i);
gtk_tree_view_column_set_visible(column, FALSE);