[GB.GTK]
* BUG: TextArea: Disconnect signals on text buffer at deletion, to prevent a possible crash. [GB.GTK3] * BUG: TextArea: Disconnect signals on text buffer at deletion, to prevent a possible crash. git-svn-id: svn://localhost/gambas/trunk@7861 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
3d0be81f4e
commit
4cd8b9c7f3
@ -512,6 +512,7 @@ void gTextArea::clearRedoStack()
|
||||
|
||||
gTextArea::~gTextArea()
|
||||
{
|
||||
g_signal_handlers_disconnect_by_data(gtk_text_view_get_buffer(GTK_TEXT_VIEW(textview)), this);
|
||||
clearRedoStack();
|
||||
clearUndoStack();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user