diff --git a/gramps/gui/widgets/expandcollapsearrow.py b/gramps/gui/widgets/expandcollapsearrow.py index 5d2d3e98b..b59862d4c 100644 --- a/gramps/gui/widgets/expandcollapsearrow.py +++ b/gramps/gui/widgets/expandcollapsearrow.py @@ -57,7 +57,7 @@ if has_display(): # #------------------------------------------------------------------------- def realize_cb(widget): - widget.get_root_window().set_cursor(HAND_CURSOR) + widget.get_window().set_cursor(HAND_CURSOR) #------------------------------------------------------------------------- # diff --git a/gramps/gui/widgets/labels.py b/gramps/gui/widgets/labels.py index b6e0e0328..8ce5249c7 100644 --- a/gramps/gui/widgets/labels.py +++ b/gramps/gui/widgets/labels.py @@ -67,7 +67,7 @@ if has_display(): # #------------------------------------------------------------------------- def realize_cb(widget): - widget.get_root_window().set_cursor(HAND_CURSOR) + widget.get_window().set_cursor(HAND_CURSOR) #------------------------------------------------------------------------- #