It seems gnet requires threading support
This commit is contained in:
parent
fbf431efde
commit
99a77b51f8
@ -467,6 +467,8 @@ int main(int argc, char * argv[])
|
|||||||
int o;
|
int o;
|
||||||
|
|
||||||
memset(&prefs, 0, sizeof(prefs));
|
memset(&prefs, 0, sizeof(prefs));
|
||||||
|
if(g_thread_supported() == FALSE)
|
||||||
|
g_thread_init(NULL);
|
||||||
gtk_init(&argc, &argv);
|
gtk_init(&argc, &argv);
|
||||||
while((o = getopt(argc, argv, "O:U:")) != -1)
|
while((o = getopt(argc, argv, "O:U:")) != -1)
|
||||||
switch(o)
|
switch(o)
|
||||||
|
Loading…
Reference in New Issue
Block a user