mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04: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:
parent
a0f16de883
commit
f93befe282
@ -297,6 +297,10 @@ int main(int argc, char **argv)
|
||||
{ NULL }
|
||||
};
|
||||
|
||||
#ifdef USE_GC
|
||||
g_mem_set_vtable(&gc_mem_table);
|
||||
#endif
|
||||
|
||||
core_register_options();
|
||||
fe_common_core_register_options();
|
||||
args_register(options);
|
||||
@ -308,10 +312,6 @@ int main(int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef USE_GC
|
||||
g_mem_set_vtable(&gc_mem_table);
|
||||
#endif
|
||||
|
||||
srand(time(NULL));
|
||||
|
||||
dummy = FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user