Maintain the struct order when initializing

Otherwise it'll break every GLIB_PRIVATE_CALL user.
This commit is contained in:
Emmanuele Bassi 2015-10-08 12:32:58 +01:00
parent 0cc8c0f3e1
commit 99ff9bb5e0

View File

@ -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;