[gnome-shell/wip/re-search-v2: 10/28] search-display: remove dead code
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/re-search-v2: 10/28] search-display: remove dead code
- Date: Mon, 3 Dec 2012 18:10:56 +0000 (UTC)
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]