Dont use deprecated begins_tag()

This commit is contained in:
Philipp Hörist 2018-11-16 21:44:20 +01:00
parent 80954e9534
commit fb5cee69cb
1 changed files with 1 additions and 1 deletions

View File

@ -895,7 +895,7 @@ class HtmlTextView(Gtk.TextView):
if event.type == Gdk.EventType.BUTTON_PRESS:
begin_iter = iter_.copy()
# we get the beginning of the tag
while not begin_iter.begins_tag(texttag):
while not begin_iter.starts_tag(texttag):
begin_iter.backward_char()
end_iter = iter_.copy()
# we get the end of the tag