summaryrefslogtreecommitdiffstats
path: root/src/gui/PatchPortModule.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/PatchPortModule.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/PatchPortModule.cpp')
-rw-r--r--src/gui/PatchPortModule.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/PatchPortModule.cpp b/src/gui/PatchPortModule.cpp
index 224a8f7e..df74626b 100644
--- a/src/gui/PatchPortModule.cpp
+++ b/src/gui/PatchPortModule.cpp
@@ -77,8 +77,7 @@ PatchPortModule::create(boost::shared_ptr<PatchCanvas> canvas,
void
PatchPortModule::create_menu()
{
- Glib::RefPtr<Gtk::Builder> xml = WidgetFactory::create();
- xml->get_widget_derived("object_menu", _menu);
+ WidgetFactory::get_widget_derived("object_menu", _menu);
_menu->init(_model, true);
set_menu(_menu);