summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 26efd1a)
raw | patch | inline | side by side (parent: 26efd1a)
author | Max Kellermann <max.kellermann@gmail.com> | |
Mon, 20 Mar 2017 19:27:22 +0000 (20:27 +0100) | ||
committer | Max Kellermann <max.kellermann@gmail.com> | |
Mon, 20 Mar 2017 19:27:22 +0000 (20:27 +0100) |
src/plugin.c | patch | blob | history |
diff --git a/src/plugin.c b/src/plugin.c
index 05b83b70ff212d6ac94c59573fb4cc9fe41a57bb..dcca7b817d4a345a3d181a6ec5dfca74a83023a6 100644 (file)
--- a/src/plugin.c
+++ b/src/plugin.c
if (cycle->next_plugin >= cycle->list->plugins->len) {
/* no plugins left */
- g_timeout_add(0, plugin_delayed_fail, cycle);
+ g_idle_add(plugin_delayed_fail, cycle);
return;
}
cycle->next_plugin++);
if (start_plugin(cycle, plugin_path) < 0) {
/* system error */
- g_timeout_add(0, plugin_delayed_fail, cycle);
+ g_idle_add(plugin_delayed_fail, cycle);
return;
}
}