[geary] Work around crash in WebKitGTK: bug 764152



commit 45d687569a81058855888a7aed8ff6015deb41c7
Author: Adam Dingle <adam medovina org>
Date:   Thu Mar 24 13:52:33 2016 -0400

    Work around crash in WebKitGTK: bug 764152
    
    https://bugzilla.gnome.org/show_bug.cgi?id=764152

 .../conversation-viewer/conversation-viewer.vala   |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/client/conversation-viewer/conversation-viewer.vala 
b/src/client/conversation-viewer/conversation-viewer.vala
index eb85465..ba807aa 100644
--- a/src/client/conversation-viewer/conversation-viewer.vala
+++ b/src/client/conversation-viewer/conversation-viewer.vala
@@ -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))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]