overviewControls: Fix warning on shutdown
ClutterActor unsets its layout manager's :container property during dispose, so the corresponding vfunc should handle being passed NULL. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1909>
This commit is contained in:
parent
30e49cc3ca
commit
dc1aec5673
@ -112,7 +112,8 @@ class ControlsManagerLayout extends Clutter.BoxLayout {
|
|||||||
|
|
||||||
vfunc_set_container(container) {
|
vfunc_set_container(container) {
|
||||||
this._container = container;
|
this._container = container;
|
||||||
this.hookup_style(container);
|
if (container)
|
||||||
|
this.hookup_style(container);
|
||||||
}
|
}
|
||||||
|
|
||||||
vfunc_get_preferred_width(_container, _forHeight) {
|
vfunc_get_preferred_width(_container, _forHeight) {
|
||||||
|
Loading…
Reference in New Issue
Block a user