cleanup: Mark unused arguments as unused

This will stop eslint from warning about them, while keeping their
self-documenting benefit.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/627
This commit is contained in:
Florian Müllner
2019-01-31 15:08:10 +01:00
parent 79cf3a6dd0
commit 2f97a1a55d
44 changed files with 110 additions and 110 deletions

View File

@ -109,7 +109,7 @@ class BaseAppView {
this._allItems = [];
}
_childFocused(actor) {
_childFocused(_actor) {
// Nothing by default
}
@ -986,7 +986,7 @@ var AppSearchProvider = class AppSearchProvider {
return results.slice(0, maxNumber);
}
getInitialResultSet(terms, callback, cancellable) {
getInitialResultSet(terms, callback, _cancellable) {
let query = terms.join(' ');
let groups = Shell.AppSystem.search(query);
let usage = Shell.AppUsage.get_default();
@ -1864,7 +1864,7 @@ var AppIconMenu = class AppIconMenu extends PopupMenu.PopupMenu {
return item;
}
popup(activatingButton) {
popup(_activatingButton) {
this._redisplay();
this.open();
}