comparison src/filedata.c @ 903:c93823609f15

periodic testing of changed files can be now disabled
author nadvornik
date Sun, 20 Jul 2008 15:04:40 +0000
parents 5d9c0b4e6d5f
children b394ecbf3dca
comparison
equal deleted inserted replaced
902:c414002a1f27 903:c93823609f15
1795 DEBUG_1("monitor %s", fd->path); 1795 DEBUG_1("monitor %s", fd->path);
1796 } 1796 }
1797 1797
1798 static gboolean realtime_monitor_cb(gpointer data) 1798 static gboolean realtime_monitor_cb(gpointer data)
1799 { 1799 {
1800 if (!options->update_on_time_change) return TRUE;
1800 g_hash_table_foreach(file_data_monitor_pool, realtime_monitor_check_cb, NULL); 1801 g_hash_table_foreach(file_data_monitor_pool, realtime_monitor_check_cb, NULL);
1801 return TRUE; 1802 return TRUE;
1802 } 1803 }
1803 1804
1804 gint file_data_register_real_time_monitor(FileData *fd) 1805 gint file_data_register_real_time_monitor(FileData *fd)