diff options
Diffstat (limited to 'src/gui/Controls.cpp')
-rw-r--r-- | src/gui/Controls.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/Controls.cpp b/src/gui/Controls.cpp index af4a139e..6ab0b3c3 100644 --- a/src/gui/Controls.cpp +++ b/src/gui/Controls.cpp @@ -106,10 +106,8 @@ Control::set_label(const string& name) void Control::menu_properties() { - Glib::RefPtr<Gtk::Builder> xml = WidgetFactory::create(); - PortPropertiesWindow* window; - xml->get_widget_derived("port_properties_win", window); + WidgetFactory::get_widget_derived("port_properties_win", window); window->present(_port_model); } |