win32: silence build warning

glocalfileinfo.c: In function '_g_local_file_info_get':
glocalfileinfo.c:1955:11: warning: passing argument 3 of
'get_thumbnail_attributes' from incompatible pointer type [enabled by
default]
           get_thumbnail_attributes (path, info, &statbuf);
           ^
glocalfileinfo.c:1285:1: note: expected 'const struct GStatBuf *' but
argument is of type 'struct _stati64 *'
 get_thumbnail_attributes (const char     *path,

https://bugzilla.gnome.org/show_bug.cgi?id=711547
This commit is contained in:
Marc-André Lureau 2013-11-06 13:54:34 +01:00 committed by Matthias Clasen
parent b4474c0b6b
commit 2873b3c20c
3 changed files with 4 additions and 3 deletions

View File

@ -1283,7 +1283,7 @@ get_content_type (const char *basename,
static void
get_thumbnail_attributes (const char *path,
GFileInfo *info,
const GStatBuf *stat_buf)
const GLocalFileStat *stat_buf)
{
GChecksum *checksum;
char *uri;

View File

@ -224,7 +224,7 @@ out:
gboolean
thumbnail_verify (const char *thumbnail_path,
const gchar *file_uri,
const GStatBuf *file_stat_buf)
const GLocalFileStat *file_stat_buf)
{
gboolean thumbnail_is_valid = FALSE;
ExpectedInfo expected_info;

View File

@ -23,9 +23,10 @@
#include <glib.h>
#include <gstdio.h>
#include "glocalfileinfo.h"
gboolean thumbnail_verify (const gchar *thumbnail_path,
const gchar *file_uri,
const GStatBuf *file_stat_buf);
const GLocalFileStat *file_stat_buf);
#endif /* _thumbnail_verify_h_ */