diff options
| author | Eduard Braun <eduard.braun2@gmx.de> | 2017-01-12 21:45:33 +0000 |
|---|---|---|
| committer | Eduard Braun <eduard.braun2@gmx.de> | 2017-01-12 21:45:33 +0000 |
| commit | 00bf8be09a333bb7434eeba9e885e6089b6eb5fd (patch) | |
| tree | 14b0bacc2b276b58c77c0bbb46aa569e39c64d5c /src/display | |
| parent | [Bug #1650480] pyserial errorhandling in plotter.py tries to iterate over wro... (diff) | |
| download | inkscape-00bf8be09a333bb7434eeba9e885e6089b6eb5fd.tar.gz inkscape-00bf8be09a333bb7434eeba9e885e6089b6eb5fd.zip | |
Use GStatBuf where appropriate to ensure usage of the correct type
(fixes compilation with i686-w64-mingw32)
(bzr r15414)
Diffstat (limited to 'src/display')
| -rw-r--r-- | src/display/cairo-utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/cairo-utils.cpp b/src/display/cairo-utils.cpp index 01b0d807c..8045007e7 100644 --- a/src/display/cairo-utils.cpp +++ b/src/display/cairo-utils.cpp @@ -290,7 +290,7 @@ Pixbuf *Pixbuf::create_from_file(std::string const &fn) if (!g_file_test(fn.c_str(), G_FILE_TEST_EXISTS)) { return NULL; } - struct stat stdir; + GStatBuf stdir; int val = g_stat(fn.c_str(), &stdir); if (val == 0 && stdir.st_mode & S_IFDIR){ return NULL; |
