Backport Scintilla HG fix: Remove styling idle in destructor to
avoid crashing when idle called after ScintillaGTK instance destroyed (fixes #3111058). git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5460 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
31a4d066b3
commit
f201500ed5
@ -1,3 +1,11 @@
|
||||
2010-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
|
||||
|
||||
* scintilla/gtk/ScintillaGTK.cxx:
|
||||
Backport Scintilla HG fix: Remove styling idle in destructor to
|
||||
avoid crashing when idle called after ScintillaGTK instance
|
||||
destroyed (fixes #3111058).
|
||||
|
||||
|
||||
2010-11-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
|
||||
|
||||
* src/notebook.c:
|
||||
|
@ -363,6 +363,7 @@ ScintillaGTK::ScintillaGTK(_ScintillaObject *sci_) :
|
||||
}
|
||||
|
||||
ScintillaGTK::~ScintillaGTK() {
|
||||
g_idle_remove_by_data(this);
|
||||
}
|
||||
|
||||
void ScintillaGTK::RealizeThis(GtkWidget *widget) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user