summaryrefslogtreecommitdiffstats
path: root/src/gui/Controls.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/Controls.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/Controls.cpp')
-rw-r--r--src/gui/Controls.cpp4
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);
}