summaryrefslogtreecommitdiffstats
path: root/src/libs/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/gui')
-rw-r--r--src/libs/gui/LoadSubpatchWindow.cpp2
-rw-r--r--src/libs/gui/ObjectMenu.cpp3
-rw-r--r--src/libs/gui/PatchView.cpp3
3 files changed, 5 insertions, 3 deletions
diff --git a/src/libs/gui/LoadSubpatchWindow.cpp b/src/libs/gui/LoadSubpatchWindow.cpp
index f637409e..cd3745dd 100644
--- a/src/libs/gui/LoadSubpatchWindow.cpp
+++ b/src/libs/gui/LoadSubpatchWindow.cpp
@@ -91,7 +91,7 @@ LoadSubpatchWindow::set_patch(SharedPtr<PatchModel> patch)
_patch = patch;
char temp_buf[4];
- snprintf(temp_buf, 4, "%zd", patch->poly());
+ snprintf(temp_buf, 4, "%u", patch->poly());
Glib::ustring txt = "Same as parent (";
txt.append(temp_buf).append(")");
_poly_from_parent_radio->set_label(txt);
diff --git a/src/libs/gui/ObjectMenu.cpp b/src/libs/gui/ObjectMenu.cpp
index 8f7c3869..becbf964 100644
--- a/src/libs/gui/ObjectMenu.cpp
+++ b/src/libs/gui/ObjectMenu.cpp
@@ -78,7 +78,8 @@ void
ObjectMenu::on_menu_polyphonic()
{
if (_enable_signal)
- App::instance().engine()->set_polyphonic(_object->path(), _polyphonic_menuitem->get_active());
+ App::instance().engine()->set_property(
+ _object->path(), "ingen:polyphonic", _polyphonic_menuitem->get_active());
}
diff --git a/src/libs/gui/PatchView.cpp b/src/libs/gui/PatchView.cpp
index 8b720db4..0ffe1191 100644
--- a/src/libs/gui/PatchView.cpp
+++ b/src/libs/gui/PatchView.cpp
@@ -161,7 +161,8 @@ PatchView::process_toggled()
void
PatchView::poly_changed()
{
- App::instance().engine()->set_polyphony(_patch->path(), _poly_spin->get_value_as_int());
+ App::instance().engine()->set_property(_patch->path(), "ingen:polyphony",
+ _poly_spin->get_value_as_int());
}