forked from AuroraMiddleware/gtk
GtkTextView: disconnect the magifier on destroy
This prevents warnings that would otherwise happen when the magifier is finalized.
This commit is contained in:
parent
10d0ca0a3d
commit
52b3b4207f
@ -3272,6 +3272,9 @@ gtk_text_view_destroy (GtkWidget *widget)
|
||||
priv->pixel_cache = NULL;
|
||||
}
|
||||
|
||||
if (priv->magnifier)
|
||||
_gtk_magnifier_set_inspected (GTK_MAGNIFIER (priv->magnifier), NULL);
|
||||
|
||||
GTK_WIDGET_CLASS (gtk_text_view_parent_class)->destroy (widget);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user