diff options
author | David Robillard <d@drobilla.net> | 2012-08-05 21:15:14 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-05 21:15:14 +0000 |
commit | 858916ec26ddc961f550442cc39d8d8cd5434e28 (patch) | |
tree | a6c17eda2fa6e9658110edb28d58a7b61693990c /src | |
parent | efee8838b4108ef8d192b515a00a7d4ae8de4839 (diff) | |
download | jalv-858916ec26ddc961f550442cc39d8d8cd5434e28.tar.gz jalv-858916ec26ddc961f550442cc39d8d8cd5434e28.tar.bz2 jalv-858916ec26ddc961f550442cc39d8d8cd5434e28.zip |
Fix UI/plugin communication.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@4619 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/jalv.c | 2 | ||||
-rw-r--r-- | src/jalv_gtk.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -596,7 +596,7 @@ jalv_ui_instantiate(Jalv* jalv, const char* native_ui_type, void* parent) jalv->ui_instance = suil_instance_new( jalv->ui_host, - &jalv, + jalv, native_ui_type, lilv_node_as_uri(lilv_plugin_get_uri(jalv->plugin)), lilv_node_as_uri(lilv_ui_get_uri(jalv->ui)), diff --git a/src/jalv_gtk.c b/src/jalv_gtk.c index 32d361c..76e1bb3 100644 --- a/src/jalv_gtk.c +++ b/src/jalv_gtk.c @@ -546,6 +546,7 @@ jalv_open_ui(Jalv* jalv) { GtkWidget* window = gtk_window_new(GTK_WINDOW_TOPLEVEL); jalv->window = window; + jalv->has_ui = TRUE; g_signal_connect(window, "destroy", G_CALLBACK(on_window_destroy), jalv); @@ -635,7 +636,6 @@ jalv_open_ui(Jalv* jalv) g_timeout_add(1000 / jalv->ui_update_hz, (GSourceFunc)jalv_emit_ui_events, jalv); - jalv->has_ui = TRUE; gtk_window_present(GTK_WINDOW(window)); gtk_main(); |