cleanup: Remove unused argument from createResultObject()

The `SearchResultsView` is passed through to the `createResultObject()`
method of search providers, but doesn't seem to be used at all anymore.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2901>
This commit is contained in:
Andy Holmes 2023-08-17 22:25:36 -07:00 committed by Marge Bot
parent 756f212d66
commit 9a528ca7bb

View File

@ -186,7 +186,7 @@ const SearchResultsBase = GObject.registerClass({
_createResultDisplay(meta) { _createResultDisplay(meta) {
if (this.provider.createResultObject) if (this.provider.createResultObject)
return this.provider.createResultObject(meta, this._resultsView); return this.provider.createResultObject(meta);
return null; return null;
} }