[gimp] app: fix GStatBuf warning on gimpconfig-file.c



commit a94a286576cdf5363ced80e2c1a158f9090a63e9
Author: lillolollo <4179-lillolollo users noreply gitlab gnome org>
Date:   Sun Sep 15 18:08:54 2019 +0000

    app: fix GStatBuf warning on gimpconfig-file.c
    
    Fixes the following warning:
    > passing argument 2 of 'g_stat' from incompatible pointer type

 app/config/gimpconfig-file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/config/gimpconfig-file.c b/app/config/gimpconfig-file.c
index bd9133e438..9823b8f419 100644
--- a/app/config/gimpconfig-file.c
+++ b/app/config/gimpconfig-file.c
@@ -50,7 +50,7 @@ gimp_config_file_copy (const gchar         *source,
   gchar        buffer[8192];
   FILE        *sfile;
   FILE        *dfile;
-  struct stat  stat_buf;
+  GStatBuf     stat_buf;
   gint         nbytes;
   gint         unwritten_len = 0;
   GRegex      *old_options_regexp = NULL;


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