forked from AuroraMiddleware/gtk
filechooserwidget: Avoid a gtk_widget_destroy
This commit is contained in:
parent
fa5c39942c
commit
4d3b15e37c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user