summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-04-19 21:01:10 +0200
committerraveit65 <[email protected]>2019-04-29 15:07:26 +0200
commitc09e5228537e4bcf5c9a074c696b698ff8ead1a5 (patch)
tree4d7c5ed14dee43c2a517a294ebe74724ffddc29d /src/util.h
parentfc1f63b1c04cb6101f3a780e104a7f295c4d307a (diff)
downloadmate-system-monitor-c09e5228537e4bcf5c9a074c696b698ff8ead1a5.tar.bz2
mate-system-monitor-c09e5228537e4bcf5c9a074c696b698ff8ead1a5.tar.xz
Use g_date_time_format instead of filter_date
https://developer.gnome.org/glib/stable/glib-GDateTime.html#g-date-time-format
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 0381698..75975d7 100644
--- a/src/util.h
+++ b/src/util.h
@@ -5,6 +5,7 @@
#include <glib.h>
#include <gtk/gtk.h>
+#include <time.h>
#include <string>
using std::string;
@@ -20,6 +21,9 @@ procman_make_label_for_mmaps_or_ofiles(const char *format,
gboolean
load_symbols(const char *module, ...) G_GNUC_NULL_TERMINATED;
+gchar *
+procman_format_date_for_display(time_t time_raw);
+
const char*
format_process_state(guint state);