diff --git a/src/chat_control.py b/src/chat_control.py index b21cb7aa5..0bd421130 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -2074,12 +2074,12 @@ class ChatControl(ChatControlBase): """ Just moved the mouse so show the cursor """ - cursor = gtk.gdk.Cursor(gtk.gdk.LEFT_PTR) - self.parent_win.window.window.set_cursor(cursor) + cursor = Gdk.Cursor.new(Gdk.CursorType.LEFT_PTR) + self.parent_win.window.get_window().set_cursor(cursor) def on_location_eventbox_enter_notify_event(self, widget, event): - cursor = gtk.gdk.Cursor(gtk.gdk.HAND2) - self.parent_win.window.window.set_cursor(cursor) + cursor = Gdk.Cursor.new(Gdk.CursorType.HAND2) + self.parent_win.window.get_window().set_cursor(cursor) def _on_window_motion_notify(self, widget, event): """