st: Adjust to ClutterBinAlignment removal
The custom alignment property was removed, so the convenience constructor lost the corresponding parameters. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3013>
This commit is contained in:
parent
4722dd0d32
commit
b36f81b955
@ -360,8 +360,7 @@ st_icon_init (StIcon *self)
|
|||||||
|
|
||||||
self->priv = st_icon_get_instance_private (self);
|
self->priv = st_icon_get_instance_private (self);
|
||||||
|
|
||||||
layout_manager = clutter_bin_layout_new (CLUTTER_BIN_ALIGNMENT_FILL,
|
layout_manager = clutter_bin_layout_new ();
|
||||||
CLUTTER_BIN_ALIGNMENT_FILL);
|
|
||||||
clutter_actor_set_layout_manager (CLUTTER_ACTOR (self), layout_manager);
|
clutter_actor_set_layout_manager (CLUTTER_ACTOR (self), layout_manager);
|
||||||
|
|
||||||
/* Set the icon size to -1 here to make sure we apply the scale to the
|
/* Set the icon size to -1 here to make sure we apply the scale to the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user