[gnumeric] GUI: Fix another split pane potential crash on exit.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] GUI: Fix another split pane potential crash on exit.
- Date: Wed, 28 May 2014 10:58:02 +0000 (UTC)
commit 344aa55c75e0db2167fe3f9120ea0ebe406a3000
Author: Morten Welinder <terra gnome org>
Date: Wed May 28 06:57:14 2014 -0400
GUI: Fix another split pane potential crash on exit.
ChangeLog | 5 +++++
NEWS | 2 +-
src/sheet-control-gui.c | 5 +++++
3 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 4869f16..ec4b1fc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-05-28 Morten Welinder <terra gnome org>
+
+ * src/sheet-control-gui.c (scg_finalize): Get rid of the drag
+ handler. Fixes #730884.
+
2014-05-27 Morten Welinder <terra gnome org>
* src/gnm-pane.c (gnm_pane_header_init): Hold references to
diff --git a/NEWS b/NEWS
index 10ec133..0a514d4 100644
--- a/NEWS
+++ b/NEWS
@@ -2,7 +2,7 @@ Gnumeric 1.12.17
Morten:
* Fix UMR. [#730727]
- * Fix crash on exit. [#730857]
+ * Fix crashes on exit. [#730857] [#730884]
--------------------------------------------------------------------------
Gnumeric 1.12.16
diff --git a/src/sheet-control-gui.c b/src/sheet-control-gui.c
index d64102a..0411e48 100644
--- a/src/sheet-control-gui.c
+++ b/src/sheet-control-gui.c
@@ -1793,6 +1793,11 @@ scg_finalize (GObject *object)
g_ptr_array_free (scg->row_group.buttons, TRUE);
}
+ if (scg->pane_drag_handler) {
+ g_source_remove (scg->pane_drag_handler);
+ scg->pane_drag_handler = 0;
+ }
+
scg_comment_timer_clear (scg);
if (scg->delayedMovement.timer != 0) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]