mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
W32 GLocalFileStat: remove compatibility time fields
Use tv_*tim.tv_sec everywhere.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user