mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
GWinHttpFile: Add support for G_FILE_ATTRIBUTE_STANDARD_TYPE
Fixes #3210
This commit is contained in:
parent
665ab65e7e
commit
6ee0772146
@ -537,6 +537,9 @@ g_winhttp_file_query_info (GFile *file,
|
||||
g_free (display_name);
|
||||
}
|
||||
|
||||
if (_g_file_attribute_matcher_matches_id (matcher, G_FILE_ATTRIBUTE_ID_STANDARD_TYPE))
|
||||
g_file_info_set_file_type (info, G_FILE_TYPE_REGULAR);
|
||||
|
||||
content_length = NULL;
|
||||
if (_g_winhttp_query_header (winhttp_file->vfs,
|
||||
request,
|
||||
|
Loading…
Reference in New Issue
Block a user