Dont use super() fpr Gtk.Window init, fixes deprecated msg

This commit is contained in:
lovetox 2016-11-19 17:25:48 +01:00
parent 3296c23e32
commit f10566f435
1 changed files with 1 additions and 1 deletions

View File

@ -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)