mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue