Fix some glib deprecation warnings

Most of these have been deprecated since forever (2.2), but they didn't
raise warnings. Now they do, and the warnings are not the most verbose
warnings you could ask for, but, they point in the right direction.

This doesn't handle the GTimeVal deprecation warnings. Those seem
trickier since they cover API, will look into those right after this.
This commit is contained in:
dequis 2019-10-31 23:49:40 +01:00
commit 664c38afba
11 changed files with 33 additions and 33 deletions

View file

@ -103,9 +103,9 @@ int main(int argc, char **argv)
do {
reload = FALSE;
module_load(autoload_module, NULL);
main_loop = g_main_new(TRUE);
g_main_run(main_loop);
g_main_destroy(main_loop);
main_loop = g_main_loop_new(NULL, TRUE);
g_main_loop_run(main_loop);
g_main_loop_unref(main_loop);
}
while (reload);
noui_deinit();