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/ui | |
| 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/ui')
| -rw-r--r-- | src/ui/dialog/filedialogimpl-gtkmm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/filedialogimpl-gtkmm.cpp b/src/ui/dialog/filedialogimpl-gtkmm.cpp index f5450ac9a..92e9ce834 100644 --- a/src/ui/dialog/filedialogimpl-gtkmm.cpp +++ b/src/ui/dialog/filedialogimpl-gtkmm.cpp @@ -554,7 +554,7 @@ bool SVGPreview::set(Glib::ustring &fileName, int dialogType) Glib::ustring fileNameUtf8 = Glib::filename_to_utf8(fileName); gchar *fName = const_cast<gchar *>( fileNameUtf8.c_str()); // const-cast probably not necessary? (not necessary on Windows version of stat()) - struct stat info; + GStatBuf info; if (g_stat(fName, &info)) // stat returns 0 upon success { g_warning("SVGPreview::set() : %s : %s", fName, strerror(errno)); |
