[gnome-software] packagekit: Handle missing enum value
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] packagekit: Handle missing enum value
- Date: Sun, 5 Oct 2014 10:18:50 +0000 (UTC)
commit f7d9f657d2efd712af67d2bcef8230fb7390ddf5
Author: Kalev Lember <kalevlember gmail com>
Date: Fri Oct 3 15:43:58 2014 +0200
packagekit: Handle missing enum value
src/plugins/packagekit-common.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/packagekit-common.c b/src/plugins/packagekit-common.c
index 38692bf..9ac683d 100644
--- a/src/plugins/packagekit-common.c
+++ b/src/plugins/packagekit-common.c
@@ -37,6 +37,7 @@ packagekit_status_enum_to_plugin_status (PkStatusEnum status)
switch (status) {
case PK_STATUS_ENUM_SETUP:
+ case PK_STATUS_ENUM_CANCEL:
case PK_STATUS_ENUM_FINISHED:
case PK_STATUS_ENUM_UNKNOWN:
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]