diff options
-rw-r--r-- | main/src/ui/conversation_view.vala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/main/src/ui/conversation_view.vala b/main/src/ui/conversation_view.vala index 92c4fbb3..2b93e36d 100644 --- a/main/src/ui/conversation_view.vala +++ b/main/src/ui/conversation_view.vala @@ -40,6 +40,12 @@ public class ConversationView : Gtk.Overlay { white_revealer.visible = false; } } + + public override void dispose() { + // To prevent a warning when closing Dino + // "Can't set a target list on a widget until you've called gtk_drag_dest_set() to make the widget into a drag destination" + Gtk.drag_dest_unset(this); + } } } |