Fix url_image_preview for gtk3

This commit is contained in:
Linus Heckemann
2016-10-10 14:28:41 +01:00
parent 33369162bb
commit 6e25bfa15c
2 changed files with 3 additions and 2 deletions

View File

@@ -45,7 +45,8 @@ class UrlImagePreviewPlugin(GajimPlugin):
control.disconnect_from_chat_control()
self.controls = []
def print_special_text(self, tv, special_text, other_tags, graphics=True):
def print_special_text(self, tv, special_text, other_tags, graphics=True,
additional_data):
for control in self.controls:
if control.chat_control.conv_textview != tv:
continue