cleanup: Remove erroneous vfunc parameters

Unlike in C or signal handlers, vfuncs don't include the this-object
in their arguments.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/388
This commit is contained in:
Florian Müllner
2019-01-31 22:07:38 +01:00
committed by Florian Müllner
parent cdd2803498
commit 15e7625c80
7 changed files with 17 additions and 17 deletions

View File

@ -835,7 +835,7 @@ class Panel extends St.Widget {
this._updateSolidStyle();
}
vfunc_get_preferred_width(actor, forHeight) {
vfunc_get_preferred_width(forHeight) {
let primaryMonitor = Main.layoutManager.primaryMonitor;
if (primaryMonitor)