Commit 00ed0515 authored by Juan Pablo Ugarte's avatar Juan Pablo Ugarte
Browse files

GladeDesignView: on_chooser_adaptor_selected() destroy popup instead of widget chooser.

parent b6d6b892
......@@ -333,9 +333,8 @@ on_chooser_adaptor_selected (_GladeAdaptorChooser *chooser,
GladeProject *project)
{
gtk_widget_hide (GTK_WIDGET (chooser));
glade_command_create (adaptor, NULL, NULL, project);
gtk_widget_destroy (GTK_WIDGET (chooser));
gtk_widget_destroy (gtk_widget_get_ancestor (GTK_WIDGET (chooser), GTK_TYPE_POPOVER));
}
static gboolean
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment