mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
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:
parent
f14b7d303a
commit
919f9b24d2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user