diff options
author | Jon Trowbridge <trow@ximian.com> | 2001-10-30 07:37:08 +0800 |
---|---|---|
committer | Jon Trowbridge <trow@src.gnome.org> | 2001-10-30 07:37:08 +0800 |
commit | 0027f30446805aa27f8c44c390a68ab3d2424399 (patch) | |
tree | c426a9bbc4985ea3f5bc2e2acfd79e8b699b1332 | |
parent | 43857d3e9594ab422c80c78a93a62de3bc0c7d3a (diff) | |
download | gsoc2013-evolution-0027f30446805aa27f8c44c390a68ab3d2424399.tar gsoc2013-evolution-0027f30446805aa27f8c44c390a68ab3d2424399.tar.gz gsoc2013-evolution-0027f30446805aa27f8c44c390a68ab3d2424399.tar.bz2 gsoc2013-evolution-0027f30446805aa27f8c44c390a68ab3d2424399.tar.lz gsoc2013-evolution-0027f30446805aa27f8c44c390a68ab3d2424399.tar.xz gsoc2013-evolution-0027f30446805aa27f8c44c390a68ab3d2424399.tar.zst gsoc2013-evolution-0027f30446805aa27f8c44c390a68ab3d2424399.zip |
destroy our completion_view_popup... we've been leaking them all of this
2001-10-29 Jon Trowbridge <trow@ximian.com>
* 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
-rw-r--r-- | widgets/text/e-entry.c | 4 |
1 files changed, 3 insertions, 1 deletions
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) |