[gnome-shell/wip/re-search-v2: 10/28] search-display: remove dead code



commit 196548adab5bc8e2d88cbcce5dda5476d9d75bc1
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Nov 27 14:53:39 2012 -0500

    search-display: remove dead code

 js/ui/searchDisplay.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/searchDisplay.js b/js/ui/searchDisplay.js
index 2463b05..4dce4a3 100644
--- a/js/ui/searchDisplay.js
+++ b/js/ui/searchDisplay.js
@@ -229,11 +229,11 @@ const GridSearchResults = new Lang.Class({
     Name: 'GridSearchResults',
     Extends: Search.SearchResultDisplay,
 
-    _init: function(provider, grid) {
+    _init: function(provider) {
         this.parent(provider);
 
-        this._grid = grid || new IconGrid.IconGrid({ rowLimit: MAX_GRID_SEARCH_RESULTS_ROWS,
-                                                     xAlign: St.Align.START });
+        this._grid = new IconGrid.IconGrid({ rowLimit: MAX_GRID_SEARCH_RESULTS_ROWS,
+                                             xAlign: St.Align.START });
         this.actor = new St.Bin({ x_align: St.Align.START });
 
         this.actor.set_child(this._grid.actor);



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