diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-04-04 17:38:59 +0000 |
|---|---|---|
| committer | Jabiertxo Arraiza Zenotz <jtx@jtx.marker.es> | 2013-04-04 17:38:59 +0000 |
| commit | 96aa3562f824356240deaf45d96546d9f62bbca5 (patch) | |
| tree | e8f346c8762bede5d6bae8f2ac8aad81ab82eee6 /src/ui/widget/imageicon.cpp | |
| parent | Changing width only to selected nodes (diff) | |
| parent | Fix for Bug #1163759 (Mouse selection ignores transform). (diff) | |
| download | inkscape-96aa3562f824356240deaf45d96546d9f62bbca5.tar.gz inkscape-96aa3562f824356240deaf45d96546d9f62bbca5.zip | |
Update to trunk
(bzr r11950.1.82)
Diffstat (limited to 'src/ui/widget/imageicon.cpp')
| -rw-r--r-- | src/ui/widget/imageicon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widget/imageicon.cpp b/src/ui/widget/imageicon.cpp index 1c36dc36e..cf41a16a4 100644 --- a/src/ui/widget/imageicon.cpp +++ b/src/ui/widget/imageicon.cpp @@ -382,7 +382,7 @@ bool ImageIcon::show(const Glib::ustring &fileName) if (Glib::file_test(fileName, Glib::FILE_TEST_IS_REGULAR)) { struct stat info; - if (stat(fName, &info)) + if (g_file_test (fName, G_FILE_TEST_EXISTS) && stat(fName, &info)) { Glib::ustring err = "cannot get file info"; showBrokenImage(err); |
