diff --git a/src/Core/Package.vala b/src/Core/Package.vala index bd2c5ef35..756fece8a 100644 --- a/src/Core/Package.vala +++ b/src/Core/Package.vala @@ -734,6 +734,10 @@ public class AppCenterCore.Package : Object { } break; + + case AppStream.IconKind.UNKNOWN: + warning ("'%s' is an unknown kind of AppStream icon", _icon.get_name ()); + break; } } diff --git a/src/Core/PackageKitBackend.vala b/src/Core/PackageKitBackend.vala index 180ae7b2a..8acc066d6 100644 --- a/src/Core/PackageKitBackend.vala +++ b/src/Core/PackageKitBackend.vala @@ -1092,6 +1092,22 @@ public class AppCenterCore.PackageKitBackend : Backend, Object { case Pk.ProgressType.STATUS: status = (Pk.Status) progress.status; break; + + case Pk.ProgressType.CALLER_ACTIVE: + case Pk.ProgressType.DOWNLOAD_SIZE_REMAINING: + case Pk.ProgressType.ELAPSED_TIME: + case Pk.ProgressType.INVALID: + case Pk.ProgressType.PACKAGE: + case Pk.ProgressType.PACKAGE_ID: + case Pk.ProgressType.PERCENTAGE: + case Pk.ProgressType.REMAINING_TIME: + case Pk.ProgressType.ROLE: + case Pk.ProgressType.SPEED: + case Pk.ProgressType.TRANSACTION_FLAGS: + case Pk.ProgressType.TRANSACTION_ID: + case Pk.ProgressType.UID: + // All other ProgressTypes deliberately ignored + break; } }