SF.net SVN: geany-plugins:[2005] trunk/geany-plugins
frlan at users.sourceforge.net
frlan at xxxxx
Sun Mar 27 17:25:50 UTC 2011
Revision: 2005
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2005&view=rev
Author: frlan
Date: 2011-03-27 17:25:50 +0000 (Sun, 27 Mar 2011)
Log Message:
-----------
Updatechecker: Remove workaround for threading as its now done by Geany
Modified Paths:
--------------
trunk/geany-plugins/build/updatechecker.m4
trunk/geany-plugins/updatechecker/src/updatechecker.c
trunk/geany-plugins/updatechecker/wscript_build
trunk/geany-plugins/updatechecker/wscript_configure
Modified: trunk/geany-plugins/build/updatechecker.m4
===================================================================
--- trunk/geany-plugins/build/updatechecker.m4 2011-03-27 11:14:38 UTC (rev 2004)
+++ trunk/geany-plugins/build/updatechecker.m4 2011-03-27 17:25:50 UTC (rev 2005)
@@ -3,8 +3,7 @@
GP_ARG_DISABLE([Updatechecker], [auto])
GP_CHECK_PLUGIN_DEPS([Updatechecker], UPDATECHECKER,
- [libsoup-2.4 >= 2.4.0
- gthread-2.0])
+ [libsoup-2.4 >= 2.4.0])
GP_STATUS_PLUGIN_ADD([Updatechecker], [$enable_updatechecker])
Modified: trunk/geany-plugins/updatechecker/src/updatechecker.c
===================================================================
--- trunk/geany-plugins/updatechecker/src/updatechecker.c 2011-03-27 11:14:38 UTC (rev 2004)
+++ trunk/geany-plugins/updatechecker/src/updatechecker.c 2011-03-27 17:25:50 UTC (rev 2005)
@@ -310,14 +310,7 @@
void plugin_init(GeanyData *data)
{
init_configuration();
- /* soup uses threads but it seems to don't initialize the thread system
- * Work around baesed on a patch Colomban Wendling and Matthew Brush */
- if (! g_thread_supported ())
- {
- g_thread_init (NULL);
- }
-
main_menu_item = gtk_menu_item_new_with_mnemonic(_("Check for Updates"));
gtk_widget_show(main_menu_item);
gtk_container_add(GTK_CONTAINER(geany->main_widgets->tools_menu),
Modified: trunk/geany-plugins/updatechecker/wscript_build
===================================================================
--- trunk/geany-plugins/updatechecker/wscript_build 2011-03-27 11:14:38 UTC (rev 2004)
+++ trunk/geany-plugins/updatechecker/wscript_build 2011-03-27 17:25:50 UTC (rev 2005)
@@ -3,6 +3,7 @@
# WAF build script for geany-plugins - Update Checker
#
# Copyright 2010 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+# Copyright 2111 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -28,4 +29,3 @@
libraries = ['LIBSOUP']
build_plugin(bld, name, includes=includes, libraries=libraries)
-
Modified: trunk/geany-plugins/updatechecker/wscript_configure
===================================================================
--- trunk/geany-plugins/updatechecker/wscript_configure 2011-03-27 11:14:38 UTC (rev 2004)
+++ trunk/geany-plugins/updatechecker/wscript_configure 2011-03-27 17:25:50 UTC (rev 2005)
@@ -24,7 +24,6 @@
from build.wafutils import check_cfg_cached
packages = [
- ('gthread-2.0','','GTHREAD'),
('libsoup-2.4', '2.4.0', 'LIBSOUP')
]
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Plugins-Commits
mailing list