mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-21 16:38:54 +02:00
Annotate various types and macros as deprecated
These have all been documented as deprecated for a long time, but we’ve
never had a way to programmatically mark them as deprecated. Do that
now.
This is based on the list of deprecations from the reverted commit
80fcb1bc2
.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Fixes: #638
This commit is contained in:
@@ -3268,6 +3268,7 @@ wait_for_child (GPid pid,
|
||||
* and is not always reliable due to problems inherent in
|
||||
* fork-without-exec. Use g_test_trap_subprocess() instead.
|
||||
*/
|
||||
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
||||
gboolean
|
||||
g_test_trap_fork (guint64 usec_timeout,
|
||||
GTestTrapFlags test_trap_flags)
|
||||
@@ -3330,6 +3331,7 @@ g_test_trap_fork (guint64 usec_timeout,
|
||||
return FALSE;
|
||||
#endif
|
||||
}
|
||||
G_GNUC_END_IGNORE_DEPRECATIONS
|
||||
|
||||
/**
|
||||
* g_test_trap_subprocess:
|
||||
|
Reference in New Issue
Block a user