From f10566f435908022e6073e2a8821df458280f506 Mon Sep 17 00:00:00 2001 From: lovetox Date: Sat, 19 Nov 2016 17:25:48 +0100 Subject: [PATCH] Dont use super() fpr Gtk.Window init, fixes deprecated msg --- src/tooltips.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tooltips.py b/src/tooltips.py index 7dd612e19..fadb4dfb6 100644 --- a/src/tooltips.py +++ b/src/tooltips.py @@ -314,7 +314,7 @@ class NotificationAreaTooltip(BaseTooltip, StatusTable): class GCTooltip(Gtk.Window): # pylint: disable=E1101 def __init__(self, parent): - super().__init__(self, type=Gtk.WindowType.POPUP, transient_for=parent) + Gtk.Window.__init__(self, type=Gtk.WindowType.POPUP, transient_for=parent) self.row = None self.set_title('tooltip') self.set_border_width(3)