summaryrefslogtreecommitdiff
path: root/glib/gdate.c
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2019-05-07 15:16:54 +0100
committerPhilip Withnall <withnall@endlessm.com>2019-05-08 12:09:54 +0100
commitf666502dd207c9a5aa468a44ec32f9d8838b92db (patch)
treed3510a5fa656e8a38a8a7b2712eb577a31e61741 /glib/gdate.c
parent76966e6b2898474362c62c88d49724b10ea87dfa (diff)
downloadglib-f666502dd207c9a5aa468a44ec32f9d8838b92db.tar.gz
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
Diffstat (limited to 'glib/gdate.c')
-rw-r--r--glib/gdate.c3
1 files changed, 3 insertions, 0 deletions
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.
*/
/**