mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Maintain the struct order when initializing
Otherwise it'll break every GLIB_PRIVATE_CALL user.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user