summaryrefslogtreecommitdiff
path: root/gtk/gtkrc.c
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2005-11-04 12:24:36 +0000
committerMichael Natterer <mitch@src.gnome.org>2005-11-04 12:24:36 +0000
commite087a3bc5122c192feea5f5b1d5a3053e1d89a3e (patch)
treed6ff40740b62eec4c2e8828e5dccc9a58fc81fca /gtk/gtkrc.c
parent36e1f67ac251d70fa90981aa58bb3808091bac1c (diff)
downloadgtk+-e087a3bc5122c192feea5f5b1d5a3053e1d89a3e.tar.gz
applied patch from maemo-gtk that changes the mtime check for rc files
2005-11-04 Michael Natterer <mitch@imendio.com> * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): applied patch from maemo-gtk that changes the mtime check for rc files from '>' to '!=', otherwise theme changes go unnoticed when turning back the clock (Tommi Komulainen).
Diffstat (limited to 'gtk/gtkrc.c')
-rw-r--r--gtk/gtkrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkrc.c b/gtk/gtkrc.c
index f13886395e..8fbb01a162 100644
--- a/gtk/gtkrc.c
+++ b/gtk/gtkrc.c
@@ -1467,7 +1467,7 @@ gtk_rc_reparse_all_for_settings (GtkSettings *settings,
if (!rc_file->is_string)
{
if (!g_lstat (rc_file->name, &statbuf) &&
- (statbuf.st_mtime > rc_file->mtime))
+ (statbuf.st_mtime != rc_file->mtime))
{
mtime_modified = TRUE;
break;