aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-sampler.lv2/sampler_ui.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-10-06 13:57:47 -0400
committerDavid Robillard <d@drobilla.net>2024-10-06 13:57:47 -0400
commit5309d0fcc9ef1a01ce9d0e3631ae45eb86a28740 (patch)
treed4b73d4903b3a196a365968a1ab3d3a9ed9849f4 /plugins/eg-sampler.lv2/sampler_ui.c
parent447b44c67368a4e1686d1db2688e5624a63cd0f4 (diff)
downloadlv2-5309d0fcc9ef1a01ce9d0e3631ae45eb86a28740.tar.xz
Add missing const qualifiers
Diffstat (limited to 'plugins/eg-sampler.lv2/sampler_ui.c')
-rw-r--r--plugins/eg-sampler.lv2/sampler_ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/eg-sampler.lv2/sampler_ui.c b/plugins/eg-sampler.lv2/sampler_ui.c
index 16a8c71..fc879eb 100644
--- a/plugins/eg-sampler.lv2/sampler_ui.c
+++ b/plugins/eg-sampler.lv2/sampler_ui.c
@@ -421,7 +421,7 @@ ui_hide(LV2UI_Handle handle)
static int
ui_idle(LV2UI_Handle handle)
{
- SamplerUI* ui = (SamplerUI*)handle;
+ const SamplerUI* ui = (const SamplerUI*)handle;
if (ui->window) {
gtk_main_iteration_do(false);
}