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
This commit is contained in:
parent
8416ba25de
commit
8fd6e93fbe
@ -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);
|
||||
},
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user