Open lferrandis opened 11 years ago
It's probably best to leave things the way they are, i.e., to continue to use g_idle. Otherwise, if an error occurs, you could get callbacks being called when they are not expected, resulting in a task being deleted before it has actually been processed. It's far to easy to get segmentation faults this way.
This function is always called in a g_idle_add Check if needed, and move g_idle_add inside the function If not needed, remove all g_idle_add