search: Remove usage of allocation flags
Allocation flags have been removed from Clutter, and commit
400d045a6a
accidentally added their
arguments again which causes a warning, so remove those arguments.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1276
This commit is contained in:
parent
67c45e5648
commit
9a8ced9f5b
@ -403,7 +403,7 @@ var GridSearchResultsLayout = GObject.registerClass({
|
|||||||
return [minHeight, natHeight];
|
return [minHeight, natHeight];
|
||||||
}
|
}
|
||||||
|
|
||||||
vfunc_allocate(container, box, flags) {
|
vfunc_allocate(container, box) {
|
||||||
const width = box.get_width();
|
const width = box.get_width();
|
||||||
|
|
||||||
const childBox = new Clutter.ActorBox();
|
const childBox = new Clutter.ActorBox();
|
||||||
@ -427,7 +427,7 @@ var GridSearchResultsLayout = GObject.registerClass({
|
|||||||
if (childBox.x1 + childWidth > width)
|
if (childBox.x1 + childWidth > width)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
child.allocate(childBox, flags);
|
child.allocate(childBox);
|
||||||
|
|
||||||
childBox.x1 += childWidth;
|
childBox.x1 += childWidth;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user