1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

g_mem_set_vtable must be called before using any other GLib functions.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4734 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2008-03-07 15:11:24 +00:00 committed by exg
parent a0f16de883
commit f93befe282

View File

@ -297,6 +297,10 @@ int main(int argc, char **argv)
{ NULL } { NULL }
}; };
#ifdef USE_GC
g_mem_set_vtable(&gc_mem_table);
#endif
core_register_options(); core_register_options();
fe_common_core_register_options(); fe_common_core_register_options();
args_register(options); args_register(options);
@ -308,10 +312,6 @@ int main(int argc, char **argv)
return 0; return 0;
} }
#ifdef USE_GC
g_mem_set_vtable(&gc_mem_table);
#endif
srand(time(NULL)); srand(time(NULL));
dummy = FALSE; dummy = FALSE;