From 8fd6e93fbe40f565c85b79b42c4092cfbc9e99cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 21 Apr 2016 13:23:22 +0200 Subject: [PATCH] workspaceThumbnail: Fix size request signatures ClutterLayoutManager's size request methods have an additional container argument before the for-width/height parameters compared to ClutterActor. https://bugzilla.gnome.org/show_bug.cgi?id=763068 --- js/ui/workspaceThumbnail.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/workspaceThumbnail.js b/js/ui/workspaceThumbnail.js index 2fa66eab4..980ffd665 100644 --- a/js/ui/workspaceThumbnail.js +++ b/js/ui/workspaceThumbnail.js @@ -45,11 +45,11 @@ const PrimaryActorLayout = new Lang.Class({ this.primaryActor = primaryActor; }, - vfunc_get_preferred_width: function(forHeight) { + vfunc_get_preferred_width: function(container, forHeight) { return this.primaryActor.get_preferred_width(forHeight); }, - vfunc_get_preferred_height: function(forWidth) { + vfunc_get_preferred_height: function(container, forWidth) { return this.primaryActor.get_preferred_height(forWidth); }, });