summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2005-04-07 12:39:51 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-04-07 12:39:51 +0000
commit1f469ff062a41a1fa4959df40e44ae58ba595a94 (patch)
tree97cf8cd04b19b701d6cb5b4ee51afddb2b712f34
parent471ea9497533e2c8fedb598f59b7ebd48b0300e0 (diff)
downloadgtk+-1f469ff062a41a1fa4959df40e44ae58ba595a94.tar.gz
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)
-rw-r--r--ChangeLog4
-rw-r--r--ChangeLog.pre-2-104
-rw-r--r--ChangeLog.pre-2-84
-rw-r--r--gtk/updateiconcache.c2
4 files changed, 13 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e9810a0851..7a9400e63c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index e9810a0851..7a9400e63c 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -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)
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index e9810a0851..7a9400e63c 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -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)
diff --git a/gtk/updateiconcache.c b/gtk/updateiconcache.c
index 076c10219d..ea76a903b0 100644
--- a/gtk/updateiconcache.c
+++ b/gtk/updateiconcache.c
@@ -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