diff options
-rw-r--r-- | src/nautilus-tag-manager.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nautilus-tag-manager.c b/src/nautilus-tag-manager.c index 78c81e0b6..345ddb75b 100644 --- a/src/nautilus-tag-manager.c +++ b/src/nautilus-tag-manager.c @@ -245,8 +245,7 @@ on_update_callback (GObject *object, tracker_sparql_connection_update_finish (connection, result, &error); - if (error == NULL || - (error != NULL && error->code != G_IO_ERROR_CANCELLED)) + if (error == NULL) { for (l = data->selection; l != NULL; l = l->next) { @@ -330,7 +329,7 @@ get_query_status (TrackerSparqlCursor *cursor, g_clear_object (&cursor); if (error == NULL || - (error != NULL && error->code != G_IO_ERROR_CANCELLED)) + (error != NULL && error->code == G_IO_ERROR_CANCELLED)) { if (op_type == GET_IDS_FOR_URLS) { |