places view: Don't spew needlessly

The check here was obviously meant to filter out cancellations,
not warn for them.
This commit is contained in:
Matthias Clasen 2015-08-28 12:15:39 -04:00
parent f14b7d303a
commit 919f9b24d2

View File

@ -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);