Kaydet (Commit) 2982f223 authored tarafından Nick Treleaven's avatar Nick Treleaven

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/trunk@5462 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 563e7b89
2010-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* scintilla/ScintillaGTK.cxx:
Backport Scintilla HG fix: Remove styling idle in destructor to
avoid crashing when idle called after ScintillaGTK instance
destroyed (fixes #3111058).
2010-12-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
......
......@@ -355,6 +355,7 @@ ScintillaGTK::ScintillaGTK(_ScintillaObject *sci_) :
}
ScintillaGTK::~ScintillaGTK() {
g_idle_remove_by_data(this);
}
void ScintillaGTK::RealizeThis(GtkWidget *widget) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment