gimp/gimp-2.6.6-help-browser-webkit.patch
Nils Philippsen cc7d03bf50 fix help browser crash with new WebKit versions (#508301) BR:
webkitgtk-devel from F-11 on
2009-06-27 15:55:59 +00:00

40 lines
1.2 KiB
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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: