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

* 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:39:51 +00:00
parent 471ea94975
commit 1f469ff062
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

@@ -75,7 +75,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