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:
Florian Müllner 2023-11-10 00:08:24 +01:00
parent 4722dd0d32
commit b36f81b955

View File

@ -360,8 +360,7 @@ st_icon_init (StIcon *self)
self->priv = st_icon_get_instance_private (self);
layout_manager = clutter_bin_layout_new (CLUTTER_BIN_ALIGNMENT_FILL,
CLUTTER_BIN_ALIGNMENT_FILL);
layout_manager = clutter_bin_layout_new ();
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