Fix the thumbnail-verification Test
authorChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 14 May 2014 08:02:35 +0000 (16:02 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 22 Apr 2015 11:02:33 +0000 (19:02 +0800)
The third parameter of the thumnail_verify() function had been updated to
const GLocalFileStat, so update the thumbnail-verification test likewise
so that the test works properly on all supported platforms.

https://bugzilla.gnome.org/show_bug.cgi?id=711547

gio/tests/thumbnail-verification.c

index c9f51c8..ef2ca70 100644 (file)
@@ -91,7 +91,7 @@ test_validity (void)
   /* Run all the tests. */
   for (i = 0; i < G_N_ELEMENTS (tests); i++)
     {
-      GStatBuf stat_buf;
+      GLocalFileStat stat_buf;
       const gchar *thumbnail_path;
       gchar *file_uri;
       gboolean result;