diff options
Diffstat (limited to 'src/gui/Port.cpp')
-rw-r--r-- | src/gui/Port.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp index 115afefc..484c461b 100644 --- a/src/gui/Port.cpp +++ b/src/gui/Port.cpp @@ -126,8 +126,7 @@ void Port::create_menu() { PortMenu* menu = NULL; - Glib::RefPtr<Gtk::Builder> xml = WidgetFactory::create(); - xml->get_widget_derived("object_menu", menu); + WidgetFactory::get_widget_derived("object_menu", menu); menu->init(model(), _flipped); set_menu(menu); } |