[gnome-software/1131-featured-carousel: 17/21] dummy: Require icons in the self tests when testing key colours
- From: Phaedrus Leeds <mwleeds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/1131-featured-carousel: 17/21] dummy: Require icons in the self tests when testing key colours
- Date: Thu, 18 Feb 2021 07:24:45 +0000 (UTC)
commit 044dcb2a5b757e0573bbb46342c71ab065a05d49
Author: Philip Withnall <pwithnall endlessos org>
Date: Wed Feb 17 20:50:04 2021 +0000
dummy: Require icons in the self tests when testing key colours
The key colours are derived from the icon. This is fallout from commit
"lib: Drop GS_PLUGIN_REFINE_FLAGS_REQUIRE_KEY_COLORS refine flag".
Signed-off-by: Philip Withnall <pwithnall endlessos org>
plugins/dummy/gs-self-test.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/plugins/dummy/gs-self-test.c b/plugins/dummy/gs-self-test.c
index cfe605ab8..cdadfc6da 100644
--- a/plugins/dummy/gs-self-test.c
+++ b/plugins/dummy/gs-self-test.c
@@ -222,6 +222,7 @@ gs_plugins_dummy_key_colors_func (GsPluginLoader *plugin_loader)
app = gs_app_new ("zeus.desktop");
plugin_job = gs_plugin_job_newv (GS_PLUGIN_ACTION_REFINE,
"app", app,
+ "refine-flags", GS_PLUGIN_REFINE_FLAGS_REQUIRE_ICON,
NULL);
ret = gs_plugin_loader_job_action (plugin_loader, plugin_job, NULL, &error);
gs_test_flush_main_context ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]