diff options
author | Michael Natterer <mitch@imendio.com> | 2005-11-04 12:24:36 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2005-11-04 12:24:36 +0000 |
commit | e087a3bc5122c192feea5f5b1d5a3053e1d89a3e (patch) | |
tree | d6ff40740b62eec4c2e8828e5dccc9a58fc81fca /gtk/gtkrc.c | |
parent | 36e1f67ac251d70fa90981aa58bb3808091bac1c (diff) | |
download | gtk+-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.c | 2 |
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; |