Commit 919f9b24 authored by Matthias Clasen's avatar Matthias Clasen

places view: Don't spew needlessly

The check here was obviously meant to filter out cancellations,
not warn for them.
parent f14b7d30
......@@ -956,7 +956,7 @@ network_enumeration_next_files_finished (GObject *source_object,
if (error)
{
if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
g_warning ("Failed to fetch network locations: %s", error->message);
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