GtkHtml requires us to initialize support for threads

This commit is contained in:
Pierre Pronchery 2009-02-19 01:36:36 +00:00
parent 867cde3f5c
commit 8069de3fc9

View File

@ -34,6 +34,10 @@ int main(int argc, char * argv[])
int o;
Surfer * surfer;
#ifdef WITH_GTKHTML /* XXX */
if(g_thread_supported() == FALSE)
g_thread_init(NULL);
#endif /* WITH_GTKHTML */
gtk_init(&argc, &argv);
while((o = getopt(argc, argv, "")) != -1)
switch(o)