[gnome-software] plugin-loader: Use the apps' cancellable when doing a generic update
- From: Joaquim Manuel Pereira Rocha <jrocha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] plugin-loader: Use the apps' cancellable when doing a generic update
- Date: Thu, 2 Nov 2017 10:56:49 +0000 (UTC)
commit a3077f602ef33d688d55e88c69b32840af2dbba7
Author: Joaquim Rocha <jrocha endlessm com>
Date: Tue Oct 10 13:40:22 2017 +0200
plugin-loader: Use the apps' cancellable when doing a generic update
This way users will be able to cancel the updates from the apps' pages.
lib/gs-plugin-loader.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/gs-plugin-loader.c b/lib/gs-plugin-loader.c
index 8e0e7a0..49ff93e 100644
--- a/lib/gs-plugin-loader.c
+++ b/lib/gs-plugin-loader.c
@@ -3026,7 +3026,7 @@ gs_plugin_loader_generic_update (GsPluginLoader *plugin_loader,
gs_app_get_id (app));
g_assert (ptask != NULL);
gs_plugin_loader_action_start (plugin_loader, plugin, FALSE);
- ret = plugin_app_func (plugin, app, cancellable, &error_local);
+ ret = plugin_app_func (plugin, app, gs_app_get_cancellable (app), &error_local);
gs_plugin_loader_action_stop (plugin_loader, plugin);
if (!ret) {
if (!gs_plugin_error_handle_failure (helper,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]