From 2c6b2e0bb4b47de4cd95de436ed2958954cea7ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Wed, 24 Oct 2018 23:04:14 +0200 Subject: [PATCH] Use keyword init for Labels keyword-less init is deprecated --- gajim/gtk/accounts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gajim/gtk/accounts.py b/gajim/gtk/accounts.py index 3dfea2896..bc72145df 100644 --- a/gajim/gtk/accounts.py +++ b/gajim/gtk/accounts.py @@ -396,7 +396,7 @@ class Account(Gtk.Box): self.options = AccountPage(account, parent) self.parent = parent - self.label = Gtk.Label(app.get_account_label(account)) + self.label = Gtk.Label(label=app.get_account_label(account)) self.label.set_halign(Gtk.Align.START) self.label.set_hexpand(True)