[gnome-software] trivial: Fix last commit, sorry!



commit 1fb145d2f6ed9a43ec719be9c42d9f9a230364cf
Author: Richard Hughes <richard hughsie com>
Date:   Fri Jun 10 17:56:05 2016 +0100

    trivial: Fix last commit, sorry!

 src/plugins/gs-flatpak.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/gs-flatpak.c b/src/plugins/gs-flatpak.c
index 6d8ce76..8ba06d0 100644
--- a/src/plugins/gs-flatpak.c
+++ b/src/plugins/gs-flatpak.c
@@ -61,9 +61,10 @@ gs_plugin_flatpak_changed_cb (GFileMonitor *monitor,
 
        /* manually drop the cache */
        if (!flatpak_installation_drop_caches (self->installation,
-                                              cancellable,
-                                              error))
-               return FALSE;
+                                              NULL, &error)) {
+               g_warning ("failed to drop cache: %s", error->message);
+               return;
+       }
 
        /* if this is a new remote, get the AppStream data */
        if (!gs_flatpak_refresh_appstream (self, G_MAXUINT, NULL, &error_md)) {


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