notebook: avoid crash on tab DND
@andhe
Submitted by Andreas Henriksson Link to original bug (#769161)
Description
See "gtk_notebook_detach_tab" API documentation. Using it instead of gtk_container_remove avoids an assertion crash in gtk+ when dragging and dropping a tab between terminal windows.
See also original bug report at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825818
Version: 3.20.x