forked from AuroraMiddleware/gtk
entry: Ensure we unset the magnifier widget on ::destroy
Otherwise there's dangling signal handlers which cause warnings at the time we attempt to disconnect these.
This commit is contained in:
parent
5c38991367
commit
a2d1d5244b
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user