summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/inkscape.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/inkscape.cpp b/src/inkscape.cpp
index b0d2a7f6b..22f7230a0 100644
--- a/src/inkscape.cpp
+++ b/src/inkscape.cpp
@@ -230,14 +230,7 @@ int Application::autosave()
GDir *autosave_dir_ptr = g_dir_open(autosave_dir.c_str(), 0, NULL);
if (!autosave_dir_ptr) {
// Try to create the autosave directory if it doesn't exist
- if (g_mkdir(autosave_dir.c_str(), 0755)) {
- // the creation failed
- Glib::ustring msg = Glib::ustring::compose(
- _("Autosave failed! Cannot create directory %1."), Glib::filename_to_utf8(autosave_dir));
- g_warning("%s", msg.c_str());
- SP_ACTIVE_DESKTOP->messageStack()->flash(Inkscape::ERROR_MESSAGE, msg.c_str());
- return TRUE;
- }
+ g_mkdir(autosave_dir.c_str(), 0755);
// Try to read dir again
autosave_dir_ptr = g_dir_open(autosave_dir.c_str(), 0, NULL);
if( !autosave_dir_ptr ){