summaryrefslogtreecommitdiffstats
path: root/src/gui/ObjectMenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/ObjectMenu.cpp')
-rw-r--r--src/gui/ObjectMenu.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/ObjectMenu.cpp b/src/gui/ObjectMenu.cpp
index 801561e3..904ada74 100644
--- a/src/gui/ObjectMenu.cpp
+++ b/src/gui/ObjectMenu.cpp
@@ -22,6 +22,8 @@
#include "ObjectMenu.hpp"
#include "WindowFactory.hpp"
+using namespace Raul;
+
namespace Ingen {
namespace GUI {
@@ -84,10 +86,10 @@ ObjectMenu::on_menu_polyphonic()
void
-ObjectMenu::variable_changed(const std::string& predicate, const Raul::Atom& value)
+ObjectMenu::variable_changed(const URI& predicate, const Atom& value)
{
_enable_signal = false;
- if (predicate == "ingen:polyphonic" && value.type() == Atom::BOOL)
+ if (predicate.str() == "ingen:polyphonic" && value.type() == Atom::BOOL)
_polyphonic_menuitem->set_active(value.get_bool());
_enable_signal = true;
}