glocalfile: don't bother with fstype on win32

Fixes the broken build on Windows.
This commit is contained in:
Ryan Lortie
2011-07-26 11:20:12 +02:00
parent 12f516b44c
commit 633fd86815

View File

@@ -992,6 +992,8 @@ g_local_file_query_filesystem_info (GFile *file,
#endif #endif
#endif #endif
} }
#ifndef G_OS_WIN32
#ifdef USE_STATFS #ifdef USE_STATFS
#if defined(HAVE_STRUCT_STATFS_F_FSTYPENAME) #if defined(HAVE_STRUCT_STATFS_F_FSTYPENAME)
fstype = g_strdup(statfs_buffer.f_fstypename); fstype = g_strdup(statfs_buffer.f_fstypename);
@@ -1005,7 +1007,6 @@ g_local_file_query_filesystem_info (GFile *file,
fstype = NULL; fstype = NULL;
#endif #endif
#ifndef G_OS_WIN32
if (fstype && if (fstype &&
g_file_attribute_matcher_matches (attribute_matcher, g_file_attribute_matcher_matches (attribute_matcher,
G_FILE_ATTRIBUTE_FILESYSTEM_TYPE)) G_FILE_ATTRIBUTE_FILESYSTEM_TYPE))