mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 17:56:17 +01:00
Merge branch 'wip/smcv/full-initializer' into 'main'
gthread: Fully initialize GThreadFunctions structure in test Closes #2812 See merge request GNOME/glib!3072
This commit is contained in:
commit
84284521b2
@ -30,7 +30,14 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
|||||||
static void
|
static void
|
||||||
test_thread_deprecated_init (void)
|
test_thread_deprecated_init (void)
|
||||||
{
|
{
|
||||||
const GThreadFunctions functions = { NULL, };
|
const GThreadFunctions functions = {
|
||||||
|
NULL, NULL, NULL, NULL,
|
||||||
|
NULL, NULL, NULL, NULL,
|
||||||
|
NULL, NULL, NULL, NULL,
|
||||||
|
NULL, NULL, NULL, NULL,
|
||||||
|
NULL, NULL, NULL, NULL,
|
||||||
|
NULL
|
||||||
|
};
|
||||||
|
|
||||||
/* Should be a no-op. */
|
/* Should be a no-op. */
|
||||||
g_thread_init (NULL);
|
g_thread_init (NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user