From 12f38722b39a2bb486d90713d2325f85beb20c93 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Wed, 7 Aug 2019 23:22:16 +0200 Subject: Update glib annotations --- gir/gio-2.0.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'gir/gio-2.0.c') diff --git a/gir/gio-2.0.c b/gir/gio-2.0.c index df075f50..1ae79d9b 100644 --- a/gir/gio-2.0.c +++ b/gir/gio-2.0.c @@ -22441,6 +22441,18 @@ */ +/** + * g_file_info_get_modification_date_time: + * @info: a #GFileInfo. + * + * Gets the modification time of the current @info and returns it as a + * #GDateTime. + * + * Returns: (transfer full) (nullable): modification time, or %NULL if unknown + * Since: 2.62 + */ + + /** * g_file_info_get_modification_time: * @info: a #GFileInfo. @@ -22448,6 +22460,9 @@ * * Gets the modification time of the current @info and sets it * in @result. + * + * Deprecated: 2.62: Use g_file_info_get_modification_date_time() instead, as + * #GTimeVal is deprecated due to the year 2038 problem. */ @@ -22772,6 +22787,18 @@ */ +/** + * g_file_info_set_modification_date_time: + * @info: a #GFileInfo. + * @mtime: (not nullable): a #GDateTime. + * + * Sets the %G_FILE_ATTRIBUTE_TIME_MODIFIED attribute in the file + * info to the given date/time value. + * + * Since: 2.62 + */ + + /** * g_file_info_set_modification_time: * @info: a #GFileInfo. @@ -22779,6 +22806,9 @@ * * Sets the %G_FILE_ATTRIBUTE_TIME_MODIFIED attribute in the file * info to the given time value. + * + * Deprecated: 2.62: Use g_file_info_set_modification_date_time() instead, as + * #GTimeVal is deprecated due to the year 2038 problem. */ -- cgit v1.2.1