[gnome-software/wip/async-plugin-repo-funcs: 16/29] flatpak: Replace GS_PLUGIN_ACTION_ENABLE_REPO job with manage repository job in tests
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/async-plugin-repo-funcs: 16/29] flatpak: Replace GS_PLUGIN_ACTION_ENABLE_REPO job with manage repository job in tests
- Date: Tue, 28 Jun 2022 15:44:23 +0000 (UTC)
commit 28e4a1987a742b997c209ae6a494258703aacec5
Author: Milan Crha <mcrha redhat com>
Date: Tue Jun 14 15:49:12 2022 +0200
flatpak: Replace GS_PLUGIN_ACTION_ENABLE_REPO job with manage repository job in tests
plugins/flatpak/gs-self-test.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/flatpak/gs-self-test.c b/plugins/flatpak/gs-self-test.c
index c02f7337b..e427cc9e6 100644
--- a/plugins/flatpak/gs-self-test.c
+++ b/plugins/flatpak/gs-self-test.c
@@ -217,9 +217,9 @@ gs_plugins_flatpak_repo_func (GsPluginLoader *plugin_loader)
/* enable repo */
g_object_unref (plugin_job);
- plugin_job = gs_plugin_job_newv (GS_PLUGIN_ACTION_ENABLE_REPO,
- "app", app,
- NULL);
+ plugin_job = gs_plugin_job_manage_repository_new (app,
+ GS_PLUGIN_MANAGE_REPOSITORY_OPERATION_ENABLE,
+ GS_PLUGIN_MANAGE_REPOSITORY_FLAGS_NONE);
ret = gs_plugin_loader_job_action (plugin_loader, plugin_job, NULL, &error);
gs_test_flush_main_context ();
g_assert_no_error (error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]