[gnome-software/gnome-3-24] plugin-loader: Use the apps' cancellable when doing a generic update
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-24] plugin-loader: Use the apps' cancellable when doing a generic update
- Date: Thu, 2 Nov 2017 22:09:16 +0000 (UTC)
commit 7190793fe75d833be4c8a307926a43f3f16a90ed
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 be998e6..7491d12 100644
--- a/lib/gs-plugin-loader.c
+++ b/lib/gs-plugin-loader.c
@@ -4756,7 +4756,7 @@ gs_plugin_loader_update_thread_cb (GTask *task,
g_assert (ptask != NULL);
gs_plugin_loader_action_start (plugin_loader, plugin, FALSE);
ret = plugin_app_func (plugin, app,
- cancellable,
+ gs_app_get_cancellable (app),
&error_local);
gs_plugin_loader_action_stop (plugin_loader, plugin);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]