freebsd-ports/www/firefox-devel/files/patch-toolkit_xre_nsAppRunner.cpp
Joe Marcus Clarke 24a35882ac Add a patch to run g_thread_init() as soon as Firefox starts. This is said
to fix some threading issues in Firefox, but I have not personally encountered
them (at least not ones fixed by this patch).

See http://bugzilla.mozilla.org/show_bug.cgi?id=247204 for more details.

Submitted by:	green
2004-06-19 05:18:14 +00:00

10 lines
371 B
C++

--- toolkit/xre/nsAppRunner.cpp.orig Sat Jun 19 00:37:07 2004
+++ toolkit/xre/nsAppRunner.cpp Sat Jun 19 00:37:39 2004
@@ -1710,6 +1710,7 @@
// in nsAppShell::Create, but we need to get in before gtk
// has been initialized to make sure everything is running
// consistently.
+ g_thread_init(NULL);
if (CheckArg("install"))
gdk_rgb_set_install(TRUE);