overview: Clean up dead code

These unused functions accessed undefined functions on a now undefined
variable/class. This vestigial code can go away.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1643>
This commit is contained in:
Carlos Garnacho 2021-02-12 12:24:12 +01:00
parent cd506d45ef
commit f7f46ca9ac

View File

@ -115,10 +115,6 @@ class OverviewActor extends St.BoxLayout {
return this._controls.searchEntry; return this._controls.searchEntry;
} }
get viewSelector() {
return this._controls.viewSelector;
}
get controls() { get controls() {
return this._controls; return this._controls;
} }
@ -249,14 +245,6 @@ var Overview = class {
this._swipeTracker = swipeTracker; this._swipeTracker = swipeTracker;
} }
addSearchProvider(provider) {
this._overview.viewSelector.addSearchProvider(provider);
}
removeSearchProvider(provider) {
this._overview.viewSelector.removeSearchProvider(provider);
}
// //
// options: // options:
// - undoCallback (function): the callback to be called if undo support is needed // - undoCallback (function): the callback to be called if undo support is needed