summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2014-06-02 21:44:42 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2014-06-02 21:44:42 (GMT)
commitdf10d1301618658d0a9faed78b8f3e30872e52ce (patch)
tree71bf51eeba60a938b4c1b6f1aaab4f60bcb61282 /src/plugins
parenta6f34ced4fa495a78ccc0be360233d64dbb2c6d8 (diff)
Removed all references to gdk_threads_* as calls have to be made from the main thread.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@375 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/pglist.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/pglist.c b/src/plugins/pglist.c
index c2a2180..9286085 100644
--- a/src/plugins/pglist.c
+++ b/src/plugins/pglist.c
@@ -310,17 +310,21 @@ void run_plugins_on_binary(GLoadedBinary *binary, PluginAction action, bool lock
{
size_t i; /* Boucle de parcours */
+ /*
if (lock)
gdk_threads_enter();
+ */
for (i = 0; i < _list.plugins_count; i++)
if (g_plugin_module_get_action(_list.plugins[i]) & action)
g_plugin_module_execute_action_on_binary(_list.plugins[i], binary, action);
+ /*
if (lock)
{
gdk_flush();
gdk_threads_leave();
}
+ */
}