From 0027f30446805aa27f8c44c390a68ab3d2424399 Mon Sep 17 00:00:00 2001 From: Jon Trowbridge Date: Mon, 29 Oct 2001 23:37:08 +0000 Subject: destroy our completion_view_popup... we've been leaking them all of this 2001-10-29 Jon Trowbridge * gal/e-text/e-entry.c (e_entry_destroy): destroy our completion_view_popup... we've been leaking them all of this time. This should fix the mysterious bug #13900. svn path=/trunk/; revision=14381 --- widgets/text/e-entry.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/widgets/text/e-entry.c b/widgets/text/e-entry.c index b2118ecb6b..10f5fd8e2a 100644 --- a/widgets/text/e-entry.c +++ b/widgets/text/e-entry.c @@ -1186,8 +1186,10 @@ e_entry_destroy (GtkObject *object) if (entry->priv->completion) gtk_object_unref (GTK_OBJECT (entry->priv->completion)); - if (entry->priv->completion_view_popup) + if (entry->priv->completion_view_popup) { + gtk_widget_destroy (GTK_WIDGET (entry->priv->completion_view_popup)); gtk_object_unref (GTK_OBJECT (entry->priv->completion_view_popup)); + } g_free (entry->priv->pre_browse_text); if (entry->priv->changed_since_keypress_tag) -- cgit