summaryrefslogtreecommitdiff
path: root/src/launchpad.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/launchpad.c')
-rwxr-xr-xsrc/launchpad.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/launchpad.c b/src/launchpad.c
index fc30ca2..bcea742 100755
--- a/src/launchpad.c
+++ b/src/launchpad.c
@@ -461,7 +461,8 @@ static gboolean __handle_timeout_event(gpointer user_data)
cpc->cpu_total_time = total;
_D("Add idle checker");
cpc->idle_checker = g_timeout_add(CPU_CHECKER_TIMEOUT,
- __handle_idle_checker, cpc);
+ __handle_idle_checker,
+ g_list_find(candidate_slot_list, cpc));
return G_SOURCE_REMOVE;
}