[gnome-software/wip/async-plugin-repo-funcs: 25/30] flatpak: Replace GS_PLUGIN_ACTION_DISABLE_REPO job with manage repository job in tests
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/async-plugin-repo-funcs: 25/30] flatpak: Replace GS_PLUGIN_ACTION_DISABLE_REPO job with manage repository job in tests
- Date: Wed, 29 Jun 2022 10:19:25 +0000 (UTC)
commit 95c416aebc3ea37f401715bbd8af72032aa21223
Author: Milan Crha <mcrha redhat com>
Date: Tue Jun 14 18:38:13 2022 +0200
flatpak: Replace GS_PLUGIN_ACTION_DISABLE_REPO job with manage repository job in tests
plugins/flatpak/gs-self-test.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/plugins/flatpak/gs-self-test.c b/plugins/flatpak/gs-self-test.c
index 1038e7ee2..c6fdf3f9f 100644
--- a/plugins/flatpak/gs-self-test.c
+++ b/plugins/flatpak/gs-self-test.c
@@ -203,9 +203,7 @@ gs_plugins_flatpak_repo_func (GsPluginLoader *plugin_loader)
/* disable repo */
g_object_unref (plugin_job);
- plugin_job = gs_plugin_job_newv (GS_PLUGIN_ACTION_DISABLE_REPO,
- "app", app,
- NULL);
+ plugin_job = gs_plugin_job_manage_repository_new (app, GS_PLUGIN_MANAGE_REPOSITORY_FLAGS_DISABLE);
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]