X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/c2b331101e92ac0440e83653e2ee76cb36174a9c..67d110ed0b83bd923d264c3715aea91043a4f193:/disobedience/disobedience.c diff --git a/disobedience/disobedience.c b/disobedience/disobedience.c index 6511b13..564335c 100644 --- a/disobedience/disobedience.c +++ b/disobedience/disobedience.c @@ -230,7 +230,7 @@ static void check_toplevel_size(const char attribute((unused)) *event, /** @brief Create and populate the main window */ static void make_toplevel_window(void) { - GtkWidget *const vbox = gtk_vbox_new(FALSE, 1); + GtkWidget *const vbox = gtk_vbox_new(FALSE/*homogeneous*/, 1/*spacing*/); GtkWidget *const rb = report_box(); D(("top_window")); @@ -538,7 +538,7 @@ int main(int argc, char **argv) { mainloop = g_main_loop_new(0, 0); if(config_read(0, NULL)) disorder_fatal(0, "cannot read configuration"); /* we'll need mixer support */ - backend = uaudio_apis[0]; + backend = uaudio_default(uaudio_apis, UAUDIO_API_CLIENT); if(backend->configure) backend->configure(); if(backend->open_mixer) @@ -569,6 +569,7 @@ int main(int argc, char **argv) { event_register("log-connected", check_rtp_address, 0); suppress_actions = 0; playlists_init(); + globals_init(); /* If no password is set yet pop up a login box */ if(!config->password) login_box();