[geary/wip/765516-gtk-widget-conversation-viewer: 154/207] Really(?) fix DOM node crit warning when ConversationMessage finalised.



commit b2a43bfa6737a95bc0fda544a921ad24132ba9a6
Author: Michael James Gratton <mike vee net>
Date:   Fri Aug 19 13:31:52 2016 +1000

    Really(?) fix DOM node crit warning when ConversationMessage finalised.

 .../conversation-viewer/conversation-message.vala  |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/client/conversation-viewer/conversation-message.vala 
b/src/client/conversation-viewer/conversation-message.vala
index e8283c5..b311d83 100644
--- a/src/client/conversation-viewer/conversation-message.vala
+++ b/src/client/conversation-viewer/conversation-message.vala
@@ -310,6 +310,11 @@ public class ConversationMessage : Gtk.Grid {
         this.body.pack_start(this.web_view, true, true, 0);
     }
 
+    public override void destroy() {
+        this.context_menu_element = null;
+        base.destroy();
+    }
+
     /**
      * Shows the complete message and hides the preview headers.
      */


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