summaryrefslogtreecommitdiffstats
path: root/src/gui/NodeModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/NodeModule.cpp')
-rw-r--r--src/gui/NodeModule.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index 6e598b27..d65ae217 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -78,8 +78,7 @@ NodeModule::~NodeModule()
void
NodeModule::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(_node);
_menu->signal_embed_gui.connect(
sigc::mem_fun(this, &NodeModule::embed_gui));