summaryrefslogtreecommitdiff
path: root/src/glib-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glib-utils.c')
-rw-r--r--src/glib-utils.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/glib-utils.c b/src/glib-utils.c
index 1d90489..9768627 100644
--- a/src/glib-utils.c
+++ b/src/glib-utils.c
@@ -547,27 +547,6 @@ debug (const char *file,
}
-char *
-get_time_string (time_t time)
-{
- struct tm *tm;
- char s_time[256];
- char *locale_format = NULL;
- char *time_utf8;
-
- tm = localtime (&time);
- /* This is the time format used in the "Date Modified" column and
- * in the Properties dialog. See the man page of strftime for an
- * explanation of the values. */
- locale_format = g_locale_from_utf8 (_("%d %B %Y, %H:%M"), -1, NULL, NULL, NULL);
- strftime (s_time, sizeof (s_time) - 1, locale_format, tm);
- g_free (locale_format);
- time_utf8 = g_locale_to_utf8 (s_time, -1, NULL, NULL, NULL);
-
- return time_utf8;
-}
-
-
void
g_ptr_array_free_full (GPtrArray *array,
GFunc free_func,