From f1e0d04631eb9b40bc22c85bc668f8d063420873 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Mon, 17 Feb 2020 18:09:09 +0100 Subject: [PATCH] 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 --- src/extension.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/extension.js b/src/extension.js index f1ab940..495af33 100644 --- a/src/extension.js +++ b/src/extension.js @@ -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); }