aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_gtk.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-14 16:16:44 +0100
committerDavid Robillard <d@drobilla.net>2020-12-14 16:16:44 +0100
commit0641bb8234270aa4d14bb4187d9fe79356d1f8ce (patch)
tree97c0492a30d00a737fb7b7a734e379adfe3166e4 /src/jalv_gtk.c
parent119a36c04b4b06c4a67543f8f8397aed1d556aea (diff)
downloadjalv-0641bb8234270aa4d14bb4187d9fe79356d1f8ce.tar.gz
jalv-0641bb8234270aa4d14bb4187d9fe79356d1f8ce.tar.bz2
jalv-0641bb8234270aa4d14bb4187d9fe79356d1f8ce.zip
Isolate variable declarations
Diffstat (limited to 'src/jalv_gtk.c')
-rw-r--r--src/jalv_gtk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jalv_gtk.c b/src/jalv_gtk.c
index 305ae49..7a76e1b 100644
--- a/src/jalv_gtk.c
+++ b/src/jalv_gtk.c
@@ -1272,7 +1272,8 @@ jalv_open_ui(Jalv* jalv)
gtk_container_add(GTK_CONTAINER(alignment), scroll_win);
gtk_widget_show_all(vbox);
- GtkRequisition controls_size, box_size;
+ GtkRequisition controls_size = {0, 0};
+ GtkRequisition box_size = {0, 0};
size_request(GTK_WIDGET(controls), &controls_size);
size_request(GTK_WIDGET(vbox), &box_size);