summaryrefslogtreecommitdiffstats
path: root/src/gui/Port.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-21 00:32:35 +0000
committerDavid Robillard <d@drobilla.net>2011-05-21 00:32:35 +0000
commitdc255319ff35012b892ed3ee2bb0d311ebe1a670 (patch)
treeb207cf938fc217c401f1e0aa27bfc368ad5f4f6c /src/gui/Port.cpp
parent2c6db7e54c8124a7dd49d04fa949c3351676aee1 (diff)
downloadingen-dc255319ff35012b892ed3ee2bb0d311ebe1a670.tar.gz
ingen-dc255319ff35012b892ed3ee2bb0d311ebe1a670.tar.bz2
ingen-dc255319ff35012b892ed3ee2bb0d311ebe1a670.zip
Fix Gtk warnings (avoid loading top level of UI file).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3305 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/Port.cpp')
-rw-r--r--src/gui/Port.cpp3
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);
}