aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_gtkmm2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/jalv_gtkmm2.cpp')
-rw-r--r--src/jalv_gtkmm2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jalv_gtkmm2.cpp b/src/jalv_gtkmm2.cpp
index e24bf40..c2f764a 100644
--- a/src/jalv_gtkmm2.cpp
+++ b/src/jalv_gtkmm2.cpp
@@ -68,7 +68,7 @@ jalv_open_ui(Jalv* jalv,
window->add(*Gtk::manage(widgetmm));
widgetmm->show_all();
- g_timeout_add(1000 / JALV_UI_UPDATE_HZ,
+ g_timeout_add(1000 / jalv->ui_update_hz,
(GSourceFunc)jalv_emit_ui_events, jalv);
} else {
Gtk::Button* button = Gtk::manage(new Gtk::Button("Close"));