From: Tim-Philipp Müller Date: Mon, 12 Dec 2011 10:18:14 +0000 (+0000) Subject: tests: use atexit, g_atexit has been deprecated in glib master X-Git-Tag: 1.19.3~509^2~7136^2~177 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=abd27e2caa247721897032864e0c0b28e21fb798;p=platform%2Fupstream%2Fgstreamer.git tests: use atexit, g_atexit has been deprecated in glib master --- diff --git a/tests/check/elements/souphttpsrc.c b/tests/check/elements/souphttpsrc.c index 7a1b677..9fc8f7c 100644 --- a/tests/check/elements/souphttpsrc.c +++ b/tests/check/elements/souphttpsrc.c @@ -23,6 +23,8 @@ # include "config.h" #endif +#include + #include #include #include @@ -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);