Skip to content

interface_view: Drop manual click handler that runs into exception

Clicking into the GtkTextView that is used to display and edit the text via the text interface resulted in this exception being printed on stderr:

Traceback (most recent call last):
  File ".../accerciser/share/accerciser/plugins/interface_view.py", line 1453, in _onTextViewPressed
    self.offset_spin.set_value(iter.get_offset())
AttributeError: '_ResultTuple' object has no attribute 'get_offset'.

Screencast:

2022-08-09_screencast_accerciser_exception_textview_click

This MR fixes this by removing the related code, which doesn't seem needed, s. commit message. Tested on Debian testing, which has libgtk-3-0:amd64 3.24.34-1.

Merge request reports