Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Archive
gnome-latex
Commits
0fc84d94
Commit
0fc84d94
authored
Mar 27, 2018
by
swilmet
Browse files
latexila -> gnome-latex migration: handle gracefully another error
parent
f0e1fef9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/liblatexila/latexila-utils.c
View file @
0fc84d94
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment