filechooserwidget: Avoid a gtk_widget_destroy

This commit is contained in:
Timm Bäder 2017-03-07 18:11:26 +01:00
parent fa5c39942c
commit 4d3b15e37c

View File

@ -2743,7 +2743,8 @@ location_switch_to_path_bar (GtkFileChooserWidget *impl)
if (priv->location_entry)
{
gtk_widget_destroy (priv->location_entry);
gtk_container_remove (GTK_CONTAINER (gtk_widget_get_parent (priv->location_entry)),
priv->location_entry);
priv->location_entry = NULL;
}