Early on, call g_type_init() unless deprecated

This commit is contained in:
RichardHitt 2013-04-24 14:33:05 -07:00
parent ee200b97aa
commit 4ad9a69aeb
1 changed files with 3 additions and 0 deletions

View File

@ -1046,6 +1046,9 @@ main (int argc, char *argv[])
}
}
#if ! GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
#endif
load_config ();
#ifdef WIN32