Work around crash in WebKitGTK: bug 764152

https://bugzilla.gnome.org/show_bug.cgi?id=764152
This commit is contained in:
Adam Dingle 2016-03-24 13:52:33 -04:00
parent 46c4a4b4f6
commit 45d687569a

View file

@ -2020,6 +2020,7 @@ public class ConversationViewer : Gtk.Box {
// Replace the SRC to a data URI, the class to a known label for the popup menu,
// and the ALT to its filename, if supplied
img.remove_attribute("src"); // Work around a WebKitGTK+ crash. Bug 764152
img.set_attribute("src", assemble_data_uri(mimetype, image_content));
img.set_attribute("class", DATA_IMAGE_CLASS);
if (!Geary.String.is_empty(filename))