Commit 04ce66b2 authored by Christian Hergert's avatar Christian Hergert
Browse files

search: only warn on non-common errors

parent 1bf315f3
......@@ -238,7 +238,9 @@ ide_search_engine_search_cb (GObject *object,
if (error != NULL)
{
g_warning ("%s", error->message);
if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED) &&
!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED))
g_warning ("%s", error->message);
goto cleanup;
}
......
Supports Markdown
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