[evolution/gnome-3-10] Bug #722698 - Crash creating a new folder
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-10] Bug #722698 - Crash creating a new folder
- Date: Thu, 13 Feb 2014 18:27:09 +0000 (UTC)
commit 5e4b28e2fae285fa632ab189707489e0df8d79aa
Author: Fabiano Fidêncio <fidencio redhat com>
Date: Tue Jan 21 15:48:54 2014 +0100
Bug #722698 - Crash creating a new folder
mail/em-folder-tree.c | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index b15041a..cd7f67e 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -1108,15 +1108,27 @@ folder_tree_dispose (GObject *object)
{
EMFolderTreePrivate *priv;
GtkTreeModel *model;
+ GtkTreeSelection *selection;
priv = EM_FOLDER_TREE_GET_PRIVATE (object);
model = gtk_tree_view_get_model (GTK_TREE_VIEW (object));
+ selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (object));
if (priv->loaded_row_id != 0) {
g_signal_handler_disconnect (model, priv->loaded_row_id);
priv->loaded_row_id = 0;
}
+ if (priv->loading_row_id != 0) {
+ g_signal_handler_disconnect (model, priv->loading_row_id);
+ priv->loading_row_id = 0;
+ }
+
+ if (priv->selection_changed_handler_id != 0) {
+ g_signal_handler_disconnect (selection, priv->selection_changed_handler_id);
+ priv->selection_changed_handler_id = 0;
+ }
+
if (priv->autoscroll_id != 0) {
g_source_remove (priv->autoscroll_id);
priv->autoscroll_id = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]