Revision: 1977 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1977&view=re... Author: codebrainz Date: 2011-03-11 02:32:46 +0000 (Fri, 11 Mar 2011)
Log Message: ----------- Initialize glib threads for webkit.
Modified Paths: -------------- trunk/geany-plugins/build/devhelp.m4 trunk/geany-plugins/devhelp/src/plugin.c
Modified: trunk/geany-plugins/build/devhelp.m4 =================================================================== --- trunk/geany-plugins/build/devhelp.m4 2011-03-11 02:22:36 UTC (rev 1976) +++ trunk/geany-plugins/build/devhelp.m4 2011-03-11 02:32:46 UTC (rev 1977) @@ -1,7 +1,8 @@ AC_DEFUN([GP_CHECK_DEVHELP], [ GP_ARG_DISABLE([devhelp], [auto]) - GP_CHECK_PLUGIN_DEPS([devhelp], [DEVHELP], [libdevhelp-1.0]) + GP_CHECK_PLUGIN_DEPS([devhelp], [DEVHELP], + [libdevhelp-1.0 webkit-1.0 gthread-2.0]) GP_STATUS_PLUGIN_ADD([DevHelp], [$enable_devhelp]) AC_CONFIG_FILES([ devhelp/Makefile
Modified: trunk/geany-plugins/devhelp/src/plugin.c =================================================================== --- trunk/geany-plugins/devhelp/src/plugin.c 2011-03-11 02:22:36 UTC (rev 1976) +++ trunk/geany-plugins/devhelp/src/plugin.c 2011-03-11 02:32:46 UTC (rev 1977) @@ -289,6 +289,11 @@ GeanyKeyGroup *key_group;
plugin_module_make_resident(geany_plugin); + + if (!g_thread_supported()) + { + g_thread_init(NULL); + }
plugin_config_init(); plugin_load_preferences();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org