13
0

add a 2nd glib log handler setup call, because for reasons not entirely clear, g_log_set_handler(NULL, ...) doesn't cover all g_logv messages

This commit is contained in:
Paul Davis 2021-06-02 16:10:25 -06:00
parent 27456b93ad
commit 8e2c5239c4

View File

@ -417,6 +417,7 @@ int main (int argc, char *argv[])
g_log_set_handler (NULL,
GLogLevelFlags (G_LOG_LEVEL_WARNING | G_LOG_FLAG_FATAL | G_LOG_LEVEL_CRITICAL | G_LOG_FLAG_RECURSION),
&ardour_g_log, NULL);
g_log_set_default_handler (&ardour_g_log, NULL);
#endif
ui->run (text_receiver);