diff options
| author | nyamatongwe <devnull@localhost> | 2010-12-03 14:20:16 +1100 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2010-12-03 14:20:16 +1100 |
| commit | ce8b7a56309b1eb98035dffd929b999a25493735 (patch) | |
| tree | 3d82f46b1871fb1c5ef4bb01fc9a6db2a0389261 | |
| parent | e6e888d750f8b215a106f556c5cd054e8b45ffa4 (diff) | |
| download | scintilla-mirror-ce8b7a56309b1eb98035dffd929b999a25493735.tar.gz | |
Remove styling idle in destructor to avoid crashing when idle called
after ScintillaGTK instance destroyed.
| -rw-r--r-- | gtk/ScintillaGTK.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index f3be0b457..99f220d6c 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -367,6 +367,7 @@ ScintillaGTK::ScintillaGTK(_ScintillaObject *sci_) : } ScintillaGTK::~ScintillaGTK() { + g_idle_remove_by_data(this); } void ScintillaGTK::RealizeThis(GtkWidget *widget) { |
