aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-02-21 19:53:29 +0000
committerDavid Robillard <d@drobilla.net>2015-02-21 19:53:29 +0000
commit68314ba2d83fd9f15b414965dff6d22b9681a5cf (patch)
tree03bd3b36f10d064a59e3b63745fd3604fef387b4 /src
parent98d0093e0124e377669e717d621c4feeffc9ba09 (diff)
downloadjalv-68314ba2d83fd9f15b414965dff6d22b9681a5cf.tar.gz
jalv-68314ba2d83fd9f15b414965dff6d22b9681a5cf.tar.bz2
jalv-68314ba2d83fd9f15b414965dff6d22b9681a5cf.zip
Fix trailing whitespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@5591 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/jalv.c4
-rw-r--r--src/jalv_gtk.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/jalv.c b/src/jalv.c
index a40c7f6..71b7aa0 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -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);
}