[gnome-software] trivial: Make loading the system AppStream store cancellable



commit 9633ab9668954362c8455cb9d8dc3548a9029450
Author: Richard Hughes <richard hughsie com>
Date:   Tue Sep 13 17:49:05 2016 +0100

    trivial: Make loading the system AppStream store cancellable

 src/plugins/gs-plugin-appstream.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-appstream.c b/src/plugins/gs-plugin-appstream.c
index 8b87c8f..a998583 100644
--- a/src/plugins/gs-plugin-appstream.c
+++ b/src/plugins/gs-plugin-appstream.c
@@ -242,7 +242,7 @@ gs_plugin_setup (GsPlugin *plugin, GCancellable *cancellable, GError **error)
                                     AS_STORE_LOAD_FLAG_APPDATA |
                                     AS_STORE_LOAD_FLAG_DESKTOP |
                                     AS_STORE_LOAD_FLAG_APP_INSTALL,
-                                    NULL,
+                                    cancellable,
                                     error);
                if (!ret) {
                        gs_utils_error_convert_appstream (error);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]