summaryrefslogtreecommitdiffstats
path: root/src/io/sys.cpp
diff options
context:
space:
mode:
authorShlomi Fish <shlomif@shlomifish.org>2017-01-28 11:44:56 +0000
committerShlomi Fish <shlomif@shlomifish.org>2017-01-28 11:44:56 +0000
commita11b9b0b60b4559cd9ffea150c7171fac7bec978 (patch)
treec79f0b3b79479ca4a22fecd442c857032543c25b /src/io/sys.cpp
parentMerged. (diff)
parentrevert 15420 because of severe regression (diff)
downloadinkscape-a11b9b0b60b4559cd9ffea150c7171fac7bec978.tar.gz
inkscape-a11b9b0b60b4559cd9ffea150c7171fac7bec978.zip
Merged.
(bzr r15369.1.17)
Diffstat (limited to 'src/io/sys.cpp')
-rw-r--r--src/io/sys.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/sys.cpp b/src/io/sys.cpp
index 94175176a..61a6a96f4 100644
--- a/src/io/sys.cpp
+++ b/src/io/sys.cpp
@@ -226,7 +226,7 @@ bool Inkscape::IO::file_is_writable( char const *utf8name)
filename = g_filename_from_utf8 ( utf8name, -1, NULL, NULL, NULL );
}
if ( filename ) {
- struct stat st;
+ GStatBuf st;
if (g_file_test (filename, G_FILE_TEST_EXISTS)){
if (g_lstat (filename, &st) == 0) {
success = ((st.st_mode & S_IWRITE) != 0);