2007-09-03 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentmanager.c
(gtk_recent_manager_poll_timeout): Remove the stat() time barrier,
as it seems to cause bug #463907 (thanks to Sebastien Bacher).
svn path=/trunk/; revision=18713
+2007-09-03 Emmanuele Bassi <ebassi@gnome.org>
+
+ * gtk/gtkrecentmanager.c
+ (gtk_recent_manager_poll_timeout): Remove the stat() time barrier,
+ as it seems to cause bug #463907 (thanks to Sebastien Bacher).
+
2007-08-31 Richard Hult <richard@imendio.com>
* configure.in: Revert the previous change as it broke the build
{
GtkRecentManager *manager = GTK_RECENT_MANAGER (data);
GtkRecentManagerPrivate *priv = manager->priv;
- time_t now;
struct stat stat_buf;
int stat_res;
if (priv->write_in_progress || priv->read_in_progress)
return TRUE;
- /* do not stat the file if we're within 5 seconds from the last stat() */
- now = time (NULL);
- if (now < priv->last_mtime + 5);
- return TRUE;
-
stat_res = g_stat (priv->filename, &stat_buf);
if (stat_res < 0)
{