summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-12-03 16:47:49 +0300
committermonsta <[email protected]>2015-12-03 16:51:54 +0300
commitbe33e464ce273e4ec32f0c1a5f614710fe1c2fea (patch)
tree6645dfacb72d3cf5072b06e0f40ea990712e31a8 /src
parent346e96a1be7bc54d1bc63fa45ab81df19a02b687 (diff)
downloadmate-system-monitor-be33e464ce273e4ec32f0c1a5f614710fe1c2fea.tar.bz2
mate-system-monitor-be33e464ce273e4ec32f0c1a5f614710fe1c2fea.tar.xz
remove even more dead code
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;
-
}