Return TRUE if the cache is newer than the directory. (#172852, Jacob

2005-04-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/updateiconcache.c (is_cache_up_to_date): Return
	TRUE if the cache is newer than the directory.  (#172852,
	Jacob Kroon)
This commit is contained in:
Matthias Clasen 2005-04-07 12:41:40 +00:00 committed by Matthias Clasen
parent de2d6b97c9
commit 558ae6ac98
4 changed files with 13 additions and 1 deletions

View File

@ -1,5 +1,9 @@
2005-04-07 Matthias Clasen <mclasen@redhat.com>
* gtk/updateiconcache.c (is_cache_up_to_date): Return
TRUE if the cache is newer than the directory. (#172852,
Jacob Kroon)
* configure.in: Replace an explicit pkg-config by
$PKG_CONFIG. (#168074, Hans-Wolfgang Loidl)

View File

@ -1,5 +1,9 @@
2005-04-07 Matthias Clasen <mclasen@redhat.com>
* gtk/updateiconcache.c (is_cache_up_to_date): Return
TRUE if the cache is newer than the directory. (#172852,
Jacob Kroon)
* configure.in: Replace an explicit pkg-config by
$PKG_CONFIG. (#168074, Hans-Wolfgang Loidl)

View File

@ -1,5 +1,9 @@
2005-04-07 Matthias Clasen <mclasen@redhat.com>
* gtk/updateiconcache.c (is_cache_up_to_date): Return
TRUE if the cache is newer than the directory. (#172852,
Jacob Kroon)
* configure.in: Replace an explicit pkg-config by
$PKG_CONFIG. (#168074, Hans-Wolfgang Loidl)

View File

@ -78,7 +78,7 @@ is_cache_up_to_date (const gchar *path)
}
/* Check mtime */
return cache_stat.st_mtime <= path_stat.st_mtime;
return cache_stat.st_mtime >= path_stat.st_mtime;
}
typedef struct