Fix "Some code tried to set a deprecated GObject property." warning

Recent versions of St.Label no longer have an expand property, so stop
trying to set it.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
Hans de Goede 2020-02-17 18:09:09 +01:00
parent e5b1e0e744
commit f1e0d04631

View File

@ -44,9 +44,7 @@ class PopupTeaMenuItem extends PopupMenu.PopupBaseMenuItem {
if (this.actor instanceof St.BoxLayout) {
// will be used for gnome-shell 3.10 and possibly above where this.actor is BoxLayout
this.actor.add(this.tealabel, {
expand: true
});
this.actor.add(this.tealabel);
if (nBrewtime != 0) {
this.actor.add(this.timelabel);
}