aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/text/e-entry.c4
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)