[gnome-software] Reset the GCancellable to make GNOME Shell overview search work again



commit 68d37ab93446a279dfc13e54cc1c1fbbfec408bb
Author: Richard Hughes <richard hughsie com>
Date:   Wed Jul 30 16:09:55 2014 +0100

    Reset the GCancellable to make GNOME Shell overview search work again

 src/gs-shell-search-provider.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-shell-search-provider.c b/src/gs-shell-search-provider.c
index f168bd9..8d9f36d 100644
--- a/src/gs-shell-search-provider.c
+++ b/src/gs-shell-search-provider.c
@@ -77,6 +77,7 @@ cancel_current_search (GsShellSearchProvider *self)
                PendingSearch *search;
 
                g_cancellable_cancel (self->cancellable);
+               g_cancellable_reset (self->cancellable);
 
                search = self->current_search;
                self->current_search = NULL;


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