diff options
author | rbuj <[email protected]> | 2020-02-27 15:44:11 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-03-03 12:23:24 +0100 |
commit | 952faddbde2bff65fefd57dbffd2242977fa1841 (patch) | |
tree | da45bd082d1de45ad42c07ff092dc98ef15ee92b /libmate-desktop/mate-bg.c | |
parent | b222081467e85e45dd9451060c369f4fa582c870 (diff) | |
download | mate-desktop-952faddbde2bff65fefd57dbffd2242977fa1841.tar.bz2 mate-desktop-952faddbde2bff65fefd57dbffd2242977fa1841.tar.xz |
Remove warnings: cast between incompatible function types
Diffstat (limited to 'libmate-desktop/mate-bg.c')
-rw-r--r-- | libmate-desktop/mate-bg.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libmate-desktop/mate-bg.c b/libmate-desktop/mate-bg.c index d8a20c8..803fa02 100644 --- a/libmate-desktop/mate-bg.c +++ b/libmate-desktop/mate-bg.c @@ -2972,10 +2972,7 @@ slideshow_unref (SlideShow *show) } g_queue_free (show->slides); - - g_list_foreach (show->stack->head, (GFunc) g_free, NULL); - g_queue_free (show->stack); - + g_queue_free_full (show->stack, g_free); g_free (show); } |