The problem with is the code:
g_timeout_add (TIMEOUT_FAM, (GSourceFunc)file_monitor_periodic_check, un); that checks every 5s changes.
The problem with is the code:
g_timeout_add (TIMEOUT_FAM, (GSourceFunc) file_monitor_ periodic_ check, un);
that checks every 5s changes.