Commit 24e1d867 authored by Christian Hergert's avatar Christian Hergert
Browse files

beautifier: no need to warn on non-existent file

This is a bit chatty, as it will almost always warn on startup
for applications not using it.
parent c3b54567
......@@ -537,11 +537,7 @@ gb_beautifier_config_get_map (GbBeautifierEditorAddin *self,
key_file = g_key_file_new ();
if (!g_file_query_exists (file, NULL))
{
/* translators: %s is replaced with a path name */
ide_object_warning (self, _("Beautifier plugin: the path “%s” doesn’t exist"), file_name);
return map;
}
return map;
if (!g_file_load_contents (file, NULL, &data, &data_len, NULL, 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