[gnome-shell/wip/carlosg/pad-osd-fixes: 1/12] padOsd: Fix .allocate() call



commit 426a6b264a6d055fbda6b3ecc1e31dee9aa5c886
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu May 28 13:34:57 2020 +0200

    padOsd: Fix .allocate() call
    
    This was not updated to the API change in commit 9a8ced9f5b6.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1290

 js/ui/padOsd.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/padOsd.js b/js/ui/padOsd.js
index f696533357..ddeb28e7d0 100644
--- a/js/ui/padOsd.js
+++ b/js/ui/padOsd.js
@@ -415,7 +415,7 @@ var PadDiagram = GObject.registerClass({
 
         childBox.y1 = y - natHeight / 2;
         childBox.y2 = y + natHeight / 2;
-        child.allocate(childBox, 0);
+        child.allocate(childBox);
     }
 
     vfunc_allocate(box) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]