Permalink
Browse files

Updatechecker: Remove workaround for threading as its now done by Geany

  • Loading branch information...
1 parent 09b6e02 commit b1417480d5ac71923af6bae9ed0c150c9506e454 @frlan frlan committed Mar 27, 2011
Showing with 2 additions and 11 deletions.
  1. +1 −2 build/updatechecker.m4
  2. +0 −7 updatechecker/src/updatechecker.c
  3. +1 −1 updatechecker/wscript_build
  4. +0 −1 updatechecker/wscript_configure
View
3 build/updatechecker.m4
@@ -3,8 +3,7 @@ AC_DEFUN([GP_CHECK_UPDATECHECKER],
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])
View
7 updatechecker/src/updatechecker.c
@@ -310,13 +310,6 @@ static void init_configuration()
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);
View
2 updatechecker/wscript_build
@@ -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 @@ includes = ['updatechecker/src']
libraries = ['LIBSOUP']
build_plugin(bld, name, includes=includes, libraries=libraries)
-
View
1 updatechecker/wscript_configure
@@ -24,7 +24,6 @@
from build.wafutils import check_cfg_cached
packages = [
- ('gthread-2.0','','GTHREAD'),
('libsoup-2.4', '2.4.0', 'LIBSOUP')
]

0 comments on commit b141748

Please sign in to comment.