windowPreview: Adapt to ClutterActor API changes
The API of clutter_actor_allocate_preferred_size() changed with https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1310, so adapt to this change and pass the origin to the function. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1322
This commit is contained in:
parent
9297d87775
commit
06df79286d
@ -97,7 +97,7 @@ var WindowPreviewLayout = GObject.registerClass({
|
|||||||
|
|
||||||
child.allocate(childBox);
|
child.allocate(childBox);
|
||||||
} else {
|
} else {
|
||||||
child.allocate_preferred_size();
|
child.allocate_preferred_size(0, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user