[evolution] Bug #722698 - Crash creating a new folder
- From: Fabiano Fidêncio <ffidencio src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug #722698 - Crash creating a new folder
- Date: Tue, 21 Jan 2014 15:55:10 +0000 (UTC)
commit 555912b601defa294d05467e5b3300b7162e39d9
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 8945649..f4ba8b9 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -1078,15 +1078,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]