Commit 0fc84d94 authored by Sébastien Wilmet's avatar Sébastien Wilmet

latexila -> gnome-latex migration: handle gracefully another error

parent f0e1fef9
......@@ -605,9 +605,9 @@ migrate_latexila_to_gnome_latex_most_used_symbols (void)
NULL, NULL, NULL,
&error);
if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_EXISTS))
if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND) ||
g_error_matches (error, G_IO_ERROR, G_IO_ERROR_EXISTS))
{
/* Do not overwrite @glatex_file if it already exists. */
g_clear_error (&error);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment