W32 GLocalFileStat: remove compatibility time fields

Use tv_*tim.tv_sec everywhere.
This commit is contained in:
Руслан Ижбулатов
2020-01-30 01:56:56 +00:00
parent 0550104cf8
commit ac58ecbab0
5 changed files with 30 additions and 16 deletions

View File

@@ -232,7 +232,11 @@ thumbnail_verify (const char *thumbnail_path,
return FALSE;
expected_info.uri = file_uri;
#ifdef G_OS_WIN32
expected_info.mtime = (guint64) file_stat_buf->st_mtim.tv_sec;
#else
expected_info.mtime = (guint64) file_stat_buf->st_mtime;
#endif
expected_info.size = file_stat_buf->st_size;
file = g_mapped_file_new (thumbnail_path, FALSE, NULL);