[gnome-software] trivial: Convert one more common GIOErrorCode
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Convert one more common GIOErrorCode
- Date: Tue, 7 Mar 2017 17:03:54 +0000 (UTC)
commit 41839f5cd1bcc069bbdce818428397d2b4b22d7c
Author: Richard Hughes <richard hughsie com>
Date: Tue Mar 7 09:27:27 2017 +0000
trivial: Convert one more common GIOErrorCode
src/gs-utils.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-utils.c b/src/gs-utils.c
index de02d71..a6e5090 100644
--- a/src/gs-utils.c
+++ b/src/gs-utils.c
@@ -666,6 +666,7 @@ gs_utils_error_convert_gio (GError **perror)
case G_IO_ERROR_FAILED:
case G_IO_ERROR_TIMED_OUT:
case G_IO_ERROR_NOT_FOUND:
+ case G_IO_ERROR_EXISTS:
error->code = GS_PLUGIN_ERROR_FAILED;
break;
case G_IO_ERROR_NOT_SUPPORTED:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]