Skip to content
  • Matthias Clasen's avatar
    dragsource: Keep the source alive long enough · 9e952bc7
    Matthias Clasen authored
    When a drop causes the event controller to be finalized
    (directly or indirectly), we end up segfaulting while
    trying to wrap up the drag operation. So, keep a reference
    on the GtkDragSource from when the drag begins to when
    it is done.
    
    This fixes a crash in gnome-todo when dragging tasks.
    9e952bc7