[glib/glib-2-44] Fix the thumbnail-verification Test



commit 5afaa316cfb2ce54168f798f030ce8db0779a768
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Wed May 14 16:02:35 2014 +0800

    Fix the thumbnail-verification Test
    
    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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/tests/thumbnail-verification.c b/gio/tests/thumbnail-verification.c
index c9f51c8..ef2ca70 100644
--- a/gio/tests/thumbnail-verification.c
+++ b/gio/tests/thumbnail-verification.c
@@ -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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]