success = document_save_file_as(doc, utf8_filename);
- if (orig_file_name)
- {
if (success)
{
gchar *orig_file_name_locale = utils_get_locale_from_utf8(orig_file_name);
if (g_remove(orig_file_name_locale) != 0)
dialogs_show_msgbox_with_secondary(GTK_MESSAGE_ERROR,
_("Error deleting original file."), g_strerror(errno));
Yes.