summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/e_date.c7
-rw-r--r--src/openfiles.cpp13
2 files changed, 0 insertions, 20 deletions
diff --git a/src/e_date.c b/src/e_date.c
index bca3165..c145c8b 100644
--- a/src/e_date.c
+++ b/src/e_date.c
@@ -193,13 +193,6 @@ filter_date (time_t date)
e_utf8_strftime_fix_am_pm (buf, 26, _("%b %d %Y"), &then);
}
}
-#if 0
-#ifdef CTIME_R_THREE_ARGS
- ctime_r (&date, buf, 26);
-#else
- ctime_r (&date, buf);
-#endif
-#endif
return g_strdup (buf);
}
diff --git a/src/openfiles.cpp b/src/openfiles.cpp
index d828516..48c7a91 100644
--- a/src/openfiles.cpp
+++ b/src/openfiles.cpp
@@ -288,22 +288,9 @@ create_openfiles_tree (ProcData *procdata)
gtk_tree_view_append_column (GTK_TREE_VIEW (tree), column);
}
-#if 0
- gtk_tree_sortable_set_sort_func (GTK_TREE_SORTABLE (model),
- COL_VMSZ,
- sort_ints,
- GINT_TO_POINTER (COL_FD),
- NULL);
-/*gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (model),
- 0,
- GTK_SORT_ASCENDING);*/
-#endif
-
procman_get_tree_state (procdata->settings, tree, procman::settings::open_files_tree_prefix.c_str());
-
return tree;
-
}