summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/filedialogimpl-gtkmm.cpp
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2017-01-14 22:33:43 +0000
committerJabiertxof <jtx@jtx>2017-01-14 22:33:43 +0000
commitb9df198f666e6efc79a603d2d0bf276c8ab1d6b4 (patch)
tree82d31550313a81c746bf6cce75a87827911a3709 /src/ui/dialog/filedialogimpl-gtkmm.cpp
parentUpdate to trunk (diff)
parent[Bug #1654892] Few typos in Calligraphy tutorial. (diff)
downloadinkscape-b9df198f666e6efc79a603d2d0bf276c8ab1d6b4.tar.gz
inkscape-b9df198f666e6efc79a603d2d0bf276c8ab1d6b4.zip
Update to trunk
(bzr r15295.1.62)
Diffstat (limited to '')
-rw-r--r--src/ui/dialog/filedialogimpl-gtkmm.cpp2
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));