diff options
author | rbuj <[email protected]> | 2021-02-02 16:04:02 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-02-27 22:36:33 +0100 |
commit | 25f29868150a992fa0d11e6944d720c9daadb530 (patch) | |
tree | f5cd44ab896812cd78e8b4f3a2b2b775af96f5d4 /libmate-desktop/mate-bg.c | |
parent | 95e62346209b6a20965ebce7bbcd5b9a31d73ad3 (diff) | |
download | mate-desktop-25f29868150a992fa0d11e6944d720c9daadb530.tar.bz2 mate-desktop-25f29868150a992fa0d11e6944d720c9daadb530.tar.xz |
Remove warning -Wbad-function-cast
Diffstat (limited to 'libmate-desktop/mate-bg.c')
-rw-r--r-- | libmate-desktop/mate-bg.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libmate-desktop/mate-bg.c b/libmate-desktop/mate-bg.c index 647d38f..64c8d6a 100644 --- a/libmate-desktop/mate-bg.c +++ b/libmate-desktop/mate-bg.c @@ -2369,12 +2369,14 @@ get_pixbuf_for_size (MateBG *bg, if (show) { double alpha; + double timeout; Slide *slide; slideshow_ref (show); slide = get_current_slide (show, &alpha); - time_until_next_change = (guint)get_slide_timeout (slide); + timeout = get_slide_timeout (slide); + time_until_next_change = (guint) timeout; if (slide->fixed) { FileSize *size = find_best_size (slide->file1, best_width, best_height); |