summaryrefslogtreecommitdiffstats
path: root/src/x11_in_qt4.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-05-09 20:18:07 +0000
committerDavid Robillard <d@drobilla.net>2013-05-09 20:18:07 +0000
commit2ba8fe75d93a8a1591c53336933bf7f4285e31bc (patch)
treeaf26c0db111e0975b63e4292ad7ca964010aa519 /src/x11_in_qt4.cpp
parentc1cf4a0aaa5742441eb3b0052844e9b3415a641b (diff)
downloadsuil-2ba8fe75d93a8a1591c53336933bf7f4285e31bc.tar.gz
suil-2ba8fe75d93a8a1591c53336933bf7f4285e31bc.tar.bz2
suil-2ba8fe75d93a8a1591c53336933bf7f4285e31bc.zip
Communicate UI update rate to plugin and UI.
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5107 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/x11_in_qt4.cpp')
-rw-r--r--src/x11_in_qt4.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/x11_in_qt4.cpp b/src/x11_in_qt4.cpp
index bd079ab..33a2e18 100644
--- a/src/x11_in_qt4.cpp
+++ b/src/x11_in_qt4.cpp
@@ -21,7 +21,7 @@
#include "./suil_config.h"
#include "./suil_internal.h"
-#ifndef HAVE_LV2_1_4_1
+#ifndef HAVE_LV2_1_4_3
typedef struct _LV2UI_Idle_Interface LV2UI_Idle_Interface;
#endif
@@ -40,7 +40,7 @@ public:
, _ui_timer(0)
{}
-#ifdef HAVE_LV2_1_4_1
+#ifdef HAVE_LV2_1_4_3
void showEvent(QShowEvent* event) {
if (_idle_iface && _ui_timer == 0) {
_ui_timer = this->startTimer(30);
@@ -68,7 +68,7 @@ wrapper_wrap(SuilWrapper* wrapper,
SuilInstance* instance)
{
const LV2UI_Idle_Interface* idle_iface = NULL;
-#ifdef HAVE_LV2_1_4_1
+#ifdef HAVE_LV2_1_4_3
idle_iface = (const LV2UI_Idle_Interface*)suil_instance_extension_data(
instance, LV2_UI__idleInterface);
#endif
@@ -113,7 +113,7 @@ suil_wrapper_new(SuilHost* host,
suil_add_feature(features, &n_features, LV2_UI__resize,
&wrapper->resize);
-#ifdef HAVE_LV2_1_4_1
+#ifdef HAVE_LV2_1_4_3
suil_add_feature(features, &n_features, LV2_UI__idleInterface, NULL);
#endif