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:

committed by
Florian Müllner

parent
cdd2803498
commit
15e7625c80
@ -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)
|
||||
|
Reference in New Issue
Block a user