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:
@ -33,7 +33,7 @@ class ButtonBox extends St.Widget {
|
||||
this._natHPadding = themeNode.get_length('-natural-hpadding');
|
||||
}
|
||||
|
||||
vfunc_get_preferred_width(forHeight) {
|
||||
vfunc_get_preferred_width(_forHeight) {
|
||||
let child = this.get_first_child();
|
||||
let minimumSize, naturalSize;
|
||||
|
||||
@ -48,7 +48,7 @@ class ButtonBox extends St.Widget {
|
||||
return [minimumSize, naturalSize];
|
||||
}
|
||||
|
||||
vfunc_get_preferred_height(forWidth) {
|
||||
vfunc_get_preferred_height(_forWidth) {
|
||||
let child = this.get_first_child();
|
||||
|
||||
if (child)
|
||||
|
Reference in New Issue
Block a user