Dont use super() fpr Gtk.Window init, fixes deprecated msg
This commit is contained in:
parent
3296c23e32
commit
f10566f435
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue