[evince/wip/gpoo/gtk4-rebase-port: 2/89] ev-document-misc: remove deprecated ev_document_misc_format_date
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince/wip/gpoo/gtk4-rebase-port: 2/89] ev-document-misc: remove deprecated ev_document_misc_format_date
- Date: Mon, 21 Mar 2022 01:11:28 +0000 (UTC)
commit 9604721d9c75bae8a10aaaea465b3ae46f7780ff
Author: Qiu Wenbo <qiuwenbo kylinos com cn>
Date: Mon Dec 6 23:54:34 2021 +0800
ev-document-misc: remove deprecated ev_document_misc_format_date
Signed-off-by: Qiu Wenbo <qiuwenbo kylinos com cn>
libdocument/ev-document-misc.c | 18 ------------------
1 file changed, 18 deletions(-)
---
diff --git a/libdocument/ev-document-misc.c b/libdocument/ev-document-misc.c
index 1599d769f..5e6172365 100644
--- a/libdocument/ev-document-misc.c
+++ b/libdocument/ev-document-misc.c
@@ -509,24 +509,6 @@ ev_document_misc_get_widget_dpi (GtkWidget *widget)
return 96;
}
-/**
- * ev_document_misc_format_date:
- * @utime: a #GTime
- *
- * Returns: (transfer full): a locale specific date and time representation.
- *
- * Deprecated: 3.38: use ev_document_misc_format_datetime instead as GTime is
- * deprecated because it is not year-2038 safe.
- */
-G_GNUC_BEGIN_IGNORE_DEPRECATIONS
-gchar *
-ev_document_misc_format_date (GTime utime)
-{
- g_autoptr (GDateTime) dt = g_date_time_new_from_unix_utc ((gint64)utime);
- return ev_document_misc_format_datetime (dt);
-}
-G_GNUC_END_IGNORE_DEPRECATIONS
-
/**
* ev_document_misc_format_datetime:
* @dt: a #GDateTime
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]