gtkplacesview: don't warn for cancelled operations

This was intended to filter out cancelled operations, not
the other way around.

https://bugzilla.gnome.org/show_bug.cgi?id=754150
This commit is contained in:
Carlos Soriano 2015-08-29 23:32:23 +02:00
parent 0d93db7e68
commit 3cdf8fda37

View File

@ -1002,7 +1002,7 @@ network_enumeration_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);