summaryrefslogtreecommitdiffstats
path: root/src/inkscape.cpp
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2008-06-27 12:59:03 +0000
committermental <mental@users.sourceforge.net>2008-06-27 12:59:03 +0000
commit434e502cffb01433b9c2d0f467385c2fd640a5dd (patch)
tree41f49c2c29e134cdf14c44544cc3a11a4ce71073 /src/inkscape.cpp
parentAdded conditional fallback for call in GLib 2.14+ (diff)
downloadinkscape-434e502cffb01433b9c2d0f467385c2fd640a5dd.tar.gz
inkscape-434e502cffb01433b9c2d0f467385c2fd640a5dd.zip
sodipodi:docname is obsolete
(bzr r6081)
Diffstat (limited to 'src/inkscape.cpp')
-rw-r--r--src/inkscape.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/inkscape.cpp b/src/inkscape.cpp
index c978fc3c7..16813e46b 100644
--- a/src/inkscape.cpp
+++ b/src/inkscape.cpp
@@ -653,8 +653,7 @@ inkscape_crash_handler (int /*signum*/)
savednames = g_slist_prepend (savednames, g_strdup (c));
fclose (file);
} else {
- docname = repr->attribute("sodipodi:docname");
- failednames = g_slist_prepend (failednames, (docname) ? g_strdup (docname) : g_strdup (_("Untitled document")));
+ failednames = g_slist_prepend (failednames, (doc->name) ? g_strdup (doc->name) : g_strdup (_("Untitled document")));
}
count++;
}