mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Maintain the struct order when initializing
Otherwise it'll break every GLIB_PRIVATE_CALL user.
This commit is contained in:
parent
0cc8c0f3e1
commit
99ff9bb5e0
@ -33,8 +33,6 @@ GLibPrivateVTable *
|
||||
glib__private__ (void)
|
||||
{
|
||||
static GLibPrivateVTable table = {
|
||||
glib_init,
|
||||
|
||||
g_wakeup_new,
|
||||
g_wakeup_free,
|
||||
g_wakeup_get_pollfd,
|
||||
@ -47,7 +45,9 @@ glib__private__ (void)
|
||||
g_main_context_new_with_next_id,
|
||||
|
||||
g_dir_open_with_errno,
|
||||
g_dir_new_from_dirp
|
||||
g_dir_new_from_dirp,
|
||||
|
||||
glib_init,
|
||||
};
|
||||
|
||||
return &table;
|
||||
|
Loading…
Reference in New Issue
Block a user