[gtk+] places view: Don't spew needlessly
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] places view: Don't spew needlessly
- Date: Fri, 28 Aug 2015 16:16:26 +0000 (UTC)
commit 919f9b24d2071f50425a595546857e95c5caa8cf
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Aug 28 12:15:39 2015 -0400
places view: Don't spew needlessly
The check here was obviously meant to filter out cancellations,
not warn for them.
gtk/gtkplacesview.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c
index afc114b..2792973 100644
--- a/gtk/gtkplacesview.c
+++ b/gtk/gtkplacesview.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]