diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/jalv.c | 4 | ||||
-rw-r--r-- | src/jalv_gtk.c | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -908,7 +908,7 @@ jalv_apply_control_arg(Jalv* jalv, const char* s) fprintf(stderr, "warning: Ignoring invalid value `%s'\n", s); return false; } - + struct Port* port = jalv_port_by_symbol(jalv, sym); if (!port) { fprintf(stderr, "warning: Ignoring value for unknown port `%s'\n", sym); @@ -1212,7 +1212,7 @@ main(int argc, char** argv) sizeof(float), jalv.urids.atom_Float, &jalv.ui_update_hz }, { LV2_OPTIONS_INSTANCE, 0, 0, 0, 0, NULL } }; - + options_feature.data = &options; /* Create Plugin <=> UI communication buffers */ diff --git a/src/jalv_gtk.c b/src/jalv_gtk.c index 000bdd6..ffb5aba 100644 --- a/src/jalv_gtk.c +++ b/src/jalv_gtk.c @@ -120,7 +120,7 @@ jalv_native_ui_type(Jalv* jalv) { #if GTK_MAJOR_VERSION == 2 return "http://lv2plug.in/ns/extensions/ui#GtkUI"; -#elif GTK_MAJOR_VERSION == 3 +#elif GTK_MAJOR_VERSION == 3 return "http://lv2plug.in/ns/extensions/ui#Gtk3UI"; #else return NULL; @@ -328,7 +328,7 @@ jalv_ui_port_event(Jalv* jalv, gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widget), *(const float*)buffer > 0.0f); } else if (GTK_IS_RANGE(widget)) { - gtk_range_set_value(GTK_RANGE(widget), *(const float*)buffer); + gtk_range_set_value(GTK_RANGE(widget), *(const float*)buffer); } else { fprintf(stderr, "Unknown widget type for port %d\n", port_index); } |