[gnome-shell] search: Fix timeout ordering



commit 08ece4c186eb8e02b769abec40908b5309e77379
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Sep 11 17:50:56 2014 -0600

    search: Fix timeout ordering

 js/ui/search.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/search.js b/js/ui/search.js
index 7998a9b..5798a4e 100644
--- a/js/ui/search.js
+++ b/js/ui/search.js
@@ -482,8 +482,8 @@ const SearchResults = new Lang.Class({
 
         if (!terms) {
             if (this._searchTimeoutId > 0) {
-                this._searchTimeoutId = 0;
                 GLib.source_remove(this._searchTimeoutId);
+                this._searchTimeoutId = 0;
             }
             return;
         }


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