SF.net SVN: geany:[5460] branches/unstable

ntrel at users.sourceforge.net ntrel at xxxxx
Fri Dec 3 13:28:13 UTC 2010


Revision: 5460
          http://geany.svn.sourceforge.net/geany/?rev=5460&view=rev
Author:   ntrel
Date:     2010-12-03 13:28:13 +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:
--------------
    branches/unstable/ChangeLog
    branches/unstable/scintilla/gtk/ScintillaGTK.cxx

Modified: branches/unstable/ChangeLog
===================================================================
--- branches/unstable/ChangeLog	2010-12-01 17:15:51 UTC (rev 5459)
+++ branches/unstable/ChangeLog	2010-12-03 13:28:13 UTC (rev 5460)
@@ -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:

Modified: branches/unstable/scintilla/gtk/ScintillaGTK.cxx
===================================================================
--- branches/unstable/scintilla/gtk/ScintillaGTK.cxx	2010-12-01 17:15:51 UTC (rev 5459)
+++ branches/unstable/scintilla/gtk/ScintillaGTK.cxx	2010-12-03 13:28:13 UTC (rev 5460)
@@ -363,6 +363,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.



More information about the Commits mailing list