From: mental Date: Fri, 27 Jun 2008 12:59:03 +0000 (+0000) Subject: sodipodi:docname is obsolete X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f06690a706e8bbf6e12ade2fba9cdf2f81927a84;p=inkscape.git sodipodi:docname is obsolete --- 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++; }