projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gtestutils: deprecate g_test_trap_fork()
[platform/upstream/glib.git]
/
gio
/
tests
/
gdbus-non-socket.c
diff --git
a/gio/tests/gdbus-non-socket.c
b/gio/tests/gdbus-non-socket.c
index
8866b1d
..
43b681b
100644
(file)
--- a/
gio/tests/gdbus-non-socket.c
+++ b/
gio/tests/gdbus-non-socket.c
@@
-220,6
+220,7
@@
test_non_socket (void)
}
/* This is #ifdef G_OS_UNIX anyway, so just use g_test_trap_fork() */
}
/* This is #ifdef G_OS_UNIX anyway, so just use g_test_trap_fork() */
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
if (!g_test_trap_fork (0, 0))
{
/* parent */
if (!g_test_trap_fork (0, 0))
{
/* parent */
@@
-230,6
+231,7
@@
test_non_socket (void)
g_assert_cmpint (kill (first_child, SIGTERM), ==, 0);
return;
}
g_assert_cmpint (kill (first_child, SIGTERM), ==, 0);
return;
}
+ G_GNUC_END_IGNORE_DEPRECATIONS;
/* second child */
/* second child */