[glib: 1/2] gdate: Officially mark GTime as deprecated
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] gdate: Officially mark GTime as deprecated
- Date: Tue, 11 Jun 2019 11:29:54 +0000 (UTC)
commit f666502dd207c9a5aa468a44ec32f9d8838b92db
Author: Philip Withnall <withnall endlessm com>
Date: Tue May 7 15:16:54 2019 +0100
gdate: Officially mark GTime as deprecated
The documentation has marked it as deprecated for a long time, but not
in a structured way. Use the gtk-doc ‘Deprecated’ tag to mark it as
deprecated.
Signed-off-by: Philip Withnall <withnall endlessm com>
Helps: #1438
glib/gdate.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/glib/gdate.c b/glib/gdate.c
index b33168018..8fbb3b863 100644
--- a/glib/gdate.c
+++ b/glib/gdate.c
@@ -170,6 +170,9 @@
* time (&ttime);
* gtime = (GTime)ttime;
* ]|
+ *
+ * Deprecated: 2.62: This is not [Y2038-safe](https://en.wikipedia.org/wiki/Year_2038_problem).
+ * Use #GDateTime or #time_t instead.
*/
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]