[gnome-shell] search: Remove usage of allocation flags
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] search: Remove usage of allocation flags
- Date: Fri, 22 May 2020 10:26:27 +0000 (UTC)
commit 9a8ced9f5b6fcbbf81ecd0f639d01a3b122efa09
Author: Jonas Dreßler <verdre v0yd nl>
Date: Fri May 22 11:53:05 2020 +0200
search: Remove usage of allocation flags
Allocation flags have been removed from Clutter, and commit
400d045a6aa1b4703a3fdd5cf5c7e9b54aa60afd accidentally added their
arguments again which causes a warning, so remove those arguments.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1276
js/ui/search.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/search.js b/js/ui/search.js
index ed24f34016..45ef424444 100644
--- a/js/ui/search.js
+++ b/js/ui/search.js
@@ -403,7 +403,7 @@ var GridSearchResultsLayout = GObject.registerClass({
return [minHeight, natHeight];
}
- vfunc_allocate(container, box, flags) {
+ vfunc_allocate(container, box) {
const width = box.get_width();
const childBox = new Clutter.ActorBox();
@@ -427,7 +427,7 @@ var GridSearchResultsLayout = GObject.registerClass({
if (childBox.x1 + childWidth > width)
return;
- child.allocate(childBox, flags);
+ child.allocate(childBox);
childBox.x1 += childWidth;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]