From b1c03f304fef7c876be6c913630a2a36b14008d1 Mon Sep 17 00:00:00 2001
From: wang--ge <wang__ge@126.com>
Date: Fri, 20 Oct 2023 11:41:21 +0800
Subject: [PATCH] remove icon for critical updates

---
 src/gpk-enum.c      | 1 -
 src/gpk-self-test.c | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/gpk-enum.c b/src/gpk-enum.c
index ba8a8cc..7dfaa03 100644
--- a/src/gpk-enum.c
+++ b/src/gpk-enum.c
@@ -36,7 +36,6 @@ static const PkEnumMatch enum_info_icon_name[] = {
 	{PK_INFO_ENUM_LOW,			"pk-update-low"},
 	{PK_INFO_ENUM_NORMAL,			"pk-update-normal"},
 	{PK_INFO_ENUM_IMPORTANT,		"pk-update-high"},
-	{PK_INFO_ENUM_CRITICAL,			"pk-update-security"},
 	{PK_INFO_ENUM_SECURITY,			"pk-update-security"},
 	{PK_INFO_ENUM_BUGFIX,			"pk-update-bugfix"},
 	{PK_INFO_ENUM_ENHANCEMENT,		"pk-update-enhancement"},
diff --git a/src/gpk-self-test.c b/src/gpk-self-test.c
index 5f83296..60a1923 100644
--- a/src/gpk-self-test.c
+++ b/src/gpk-self-test.c
@@ -55,7 +55,7 @@ gpk_test_enum_func (void)
 	for (i = PK_INFO_ENUM_UNKNOWN+1; i < PK_INFO_ENUM_LAST; i++) {
 		string = gpk_info_enum_to_icon_name (i);
 		if (string == NULL || g_strcmp0 (string, "help-browser") == 0) {
-			g_warning ("failed to get %s (got %s instead)", pk_info_enum_to_string (i), string);
+			g_warning ("failed to get %s", pk_info_enum_to_string (i));
 			break;
 		}
 	}
-- 
2.33.0

