diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2019-08-07 23:22:16 +0200 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2019-08-07 23:22:16 +0200 |
commit | 12f38722b39a2bb486d90713d2325f85beb20c93 (patch) | |
tree | caa421d729692dd0a9a2fcd66700a126ea9f1612 /gir/gio-2.0.c | |
parent | 99db7d7fb3dbb9f4da416a21282aadf351eb3471 (diff) | |
download | gobject-introspection-12f38722b39a2bb486d90713d2325f85beb20c93.tar.gz |
Update glib annotations
Diffstat (limited to 'gir/gio-2.0.c')
-rw-r--r-- | gir/gio-2.0.c | 30 |
1 files changed, 30 insertions, 0 deletions
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 @@ -22442,12 +22442,27 @@ /** + * 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. * @result: (out caller-allocates): a #GTimeVal. * * 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. */ @@ -22773,12 +22788,27 @@ /** + * 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. * @mtime: a #GTimeVal. * * 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. */ |