Revision: 5462 http://geany.svn.sourceforge.net/geany/?rev=5462&view=rev Author: ntrel Date: 2010-12-03 13:51:54 +0000 (Fri, 03 Dec 2010)
Log Message: ----------- Backport Scintilla HG fix: Remove styling idle in destructor to avoid crashing when idle called after ScintillaGTK instance destroyed (fixes #3111058).
Modified Paths: -------------- trunk/ChangeLog trunk/scintilla/ScintillaGTK.cxx
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2010-12-03 13:42:37 UTC (rev 5461) +++ trunk/ChangeLog 2010-12-03 13:51:54 UTC (rev 5462) @@ -1,3 +1,11 @@ +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:
Modified: trunk/scintilla/ScintillaGTK.cxx =================================================================== --- trunk/scintilla/ScintillaGTK.cxx 2010-12-03 13:42:37 UTC (rev 5461) +++ trunk/scintilla/ScintillaGTK.cxx 2010-12-03 13:51:54 UTC (rev 5462) @@ -355,6 +355,7 @@ }
ScintillaGTK::~ScintillaGTK() { + g_idle_remove_by_data(this); }
void ScintillaGTK::RealizeThis(GtkWidget *widget) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.