summaryrefslogtreecommitdiffstats
path: root/src/gui/NodeControlWindow.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/NodeControlWindow.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/NodeControlWindow.cpp')
-rw-r--r--src/gui/NodeControlWindow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/NodeControlWindow.cpp b/src/gui/NodeControlWindow.cpp
index a99de9a8..547c2e1f 100644
--- a/src/gui/NodeControlWindow.cpp
+++ b/src/gui/NodeControlWindow.cpp
@@ -47,8 +47,7 @@ NodeControlWindow::NodeControlWindow(SharedPtr<const NodeModel> node,
set_title(_node->plugin_model()->human_name() + " - Ingen");
- Glib::RefPtr<Gtk::Builder> xml = WidgetFactory::create("warehouse_win");
- xml->get_widget_derived("control_panel_vbox", _control_panel);
+ WidgetFactory::get_widget_derived("control_panel_vbox", _control_panel);
show_all_children();