Fixes https://github.com/jrfonseca/xdot.py/issues/84
| ... | ... |
@@ -67,7 +67,7 @@ class NullAction(DragAction): |
| 67 | 67 |
|
| 68 | 68 |
# FIXME: The NullAction class is probably not the best place to hold this |
| 69 | 69 |
# sort mutable global state. |
| 70 |
- _tooltip_window = Gtk.Window(Gtk.WindowType.POPUP) |
|
| 70 |
+ _tooltip_window = Gtk.Window.new(Gtk.WindowType.POPUP) |
|
| 71 | 71 |
_tooltip_label = Gtk.Label(xalign=0, yalign=0) |
| 72 | 72 |
_tooltip_item = None |
| 73 | 73 |
|