40 lines
1.2 KiB
Diff
40 lines
1.2 KiB
Diff
commit 1d38c1c2daabb7dac94a37fa87caa0f1bb4d95f9
|
||
Author: Nils Philippsen <nils@redhat.com>
|
||
Date: Sat Jun 27 17:04:48 2009 +0200
|
||
|
||
patch: help-browser-webkit
|
||
|
||
Squashed commit of the following:
|
||
|
||
commit 7647788dbf37369b602361a6abd598388a4cb923
|
||
Author: Sven Neumann <sven@gimp.org>
|
||
Date: Sat Mar 28 16:42:50 2009 +0000
|
||
|
||
Bug 577024 – help-browser plugin crashes when used with webkit 1.1.3
|
||
|
||
2009-03-28 Sven Neumann <sven@gimp.org>
|
||
|
||
Bug 577024 – help-browser plugin crashes when used with webkit 1.1.3
|
||
|
||
* plug-ins/help-browser/help-browser.c (run): call g_thread_init().
|
||
Seems to be needed with newer versions of webkit.
|
||
|
||
svn path=/trunk/; revision=28227
|
||
|
||
Signed-off-by: Nils Philippsen <nils@redhat.com>
|
||
|
||
diff --git a/plug-ins/help-browser/help-browser.c b/plug-ins/help-browser/help-browser.c
|
||
index efbabfe..d632d9c 100644
|
||
--- a/plug-ins/help-browser/help-browser.c
|
||
+++ b/plug-ins/help-browser/help-browser.c
|
||
@@ -129,6 +129,9 @@ run (const gchar *name,
|
||
|
||
INIT_I18N ();
|
||
|
||
+ if (! g_thread_supported ())
|
||
+ g_thread_init (NULL);
|
||
+
|
||
switch (run_mode)
|
||
{
|
||
case GIMP_RUN_INTERACTIVE:
|