From fb5cee69cbd11bf37ec53c4ee49a622889e22035 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Fri, 16 Nov 2018 21:44:20 +0100 Subject: [PATCH] Dont use deprecated begins_tag() --- gajim/htmltextview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gajim/htmltextview.py b/gajim/htmltextview.py index bb2856bf0..1575c2816 100644 --- a/gajim/htmltextview.py +++ b/gajim/htmltextview.py @@ -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