diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index 61c3ba4823..4865e96e9e 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -2965,6 +2965,9 @@ gtk_entry_destroy (GtkWidget *widget) priv->recompute_idle = 0; } + if (priv->magnifier) + _gtk_magnifier_set_inspected (GTK_MAGNIFIER (priv->magnifier), NULL); + GTK_WIDGET_CLASS (gtk_entry_parent_class)->destroy (widget); }