Dominique Leuenberger
2af1038e4c
Add post 3.6.3 commits from upstream as patches to fix important issues (build tested locally); required for 12.3 OBS-URL: https://build.opensuse.org/request/show/154996 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/evolution-data-server?expand=0&rev=150
30 lines
885 B
Diff
30 lines
885 B
Diff
From d92dc8b420cd599143649dca65bed55a035dd5b6 Mon Sep 17 00:00:00 2001
|
|
From: Milan Crha <mcrha@redhat.com>
|
|
Date: Thu, 31 Jan 2013 16:33:07 +0000
|
|
Subject: Bug #689476 - Slow composer open (ENameSelector object leaks)
|
|
|
|
---
|
|
diff --git a/libedataserverui/e-name-selector.c b/libedataserverui/e-name-selector.c
|
|
index ddbb067..4badff3 100644
|
|
--- a/libedataserverui/e-name-selector.c
|
|
+++ b/libedataserverui/e-name-selector.c
|
|
@@ -331,6 +331,16 @@ name_selector_dispose (GObject *object)
|
|
g_array_set_size (priv->source_books, 0);
|
|
g_array_set_size (priv->sections, 0);
|
|
|
|
+ if (priv->dialog) {
|
|
+ gtk_widget_destroy (GTK_WIDGET (priv->dialog));
|
|
+ priv->dialog = NULL;
|
|
+ }
|
|
+
|
|
+ if (priv->model) {
|
|
+ g_object_unref (priv->model);
|
|
+ priv->model = NULL;
|
|
+ }
|
|
+
|
|
/* Chain up to parent's dispose() method. */
|
|
G_OBJECT_CLASS (e_name_selector_parent_class)->dispose (object);
|
|
}
|
|
--
|
|
cgit v0.9.0.2
|