Commit f0e1fef9 authored by Sébastien Wilmet's avatar Sébastien Wilmet

latexila -> gnome-latex migration: don't print warning in valid case

parent 143c2c83
......@@ -605,6 +605,12 @@ 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))
{
/* Do not overwrite @glatex_file if it already exists. */
g_clear_error (&error);
}
out:
if (error != NULL)
{
......
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