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



commit 26065a408a1abd1817b0588b243b82d703cbd547
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 2858e03..77b005a 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)
                        return FALSE;


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