summaryrefslogtreecommitdiff
path: root/libmate-desktop
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-07-24 13:08:01 +0300
committerMonsta <[email protected]>2015-07-24 13:10:35 +0300
commitfe0d234192debe109736b78f08f98a808758c42b (patch)
treeb7317c040a2281f6c685ab47f28fdad8b7180ad6 /libmate-desktop
parentc7c92f8c7aaa72125b43aa25b3be3e5dea4b28bf (diff)
downloadmate-desktop-fe0d234192debe109736b78f08f98a808758c42b.tar.bz2
mate-desktop-fe0d234192debe109736b78f08f98a808758c42b.tar.xz
bg slideshow: fix crash when system date is earlier than start date
from https://github.com/GNOME/gnome-desktop/commit/d7cc5dadc3831b149bab1cd3e4af50e441546c2e
Diffstat (limited to 'libmate-desktop')
-rw-r--r--libmate-desktop/mate-bg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmate-desktop/mate-bg.c b/libmate-desktop/mate-bg.c
index b5e0993..fbdcdb0 100644
--- a/libmate-desktop/mate-bg.c
+++ b/libmate-desktop/mate-bg.c
@@ -3106,7 +3106,7 @@ read_slideshow_file (const char *filename,
/* one slide, there's no transition */
} else if (len == 1) {
Slide *slide = show->slides->head->data;
- slide->duration = G_MAXUINT;
+ slide->duration = show->total_duration = G_MAXUINT;
}
}