mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
tests: use atexit, g_atexit has been deprecated in glib master
This commit is contained in:
parent
b8b8454bcb
commit
abd27e2caa
1 changed files with 3 additions and 1 deletions
|
@ -23,6 +23,8 @@
|
|||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gprintf.h>
|
||||
#include <libsoup/soup-address.h>
|
||||
|
@ -454,7 +456,7 @@ souphttpsrc_suite (void)
|
|||
|
||||
suite_add_tcase (s, tc_chain);
|
||||
run_server (&http_port, &https_port);
|
||||
g_atexit (stop_server);
|
||||
atexit (stop_server);
|
||||
tcase_add_test (tc_chain, test_first_buffer_has_offset);
|
||||
tcase_add_test (tc_chain, test_redirect_yes);
|
||||
tcase_add_test (tc_chain, test_redirect_no);
|
||||
|
|
Loading…
Reference in a new issue