summaryrefslogtreecommitdiff
path: root/applets/wncklet
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-12-20 21:11:41 +0100
committerraveit65 <[email protected]>2022-01-26 16:44:07 +0100
commita32b67611920591c918c164b11b814d493923127 (patch)
tree073468491aa076191936ada01cef51f668d2219e /applets/wncklet
parent42e01cf4992c552bc7924bb8fd0087832e85e8c1 (diff)
downloadmate-panel-a32b67611920591c918c164b11b814d493923127.tar.bz2
mate-panel-a32b67611920591c918c164b11b814d493923127.tar.xz
Fix implicit conversion changes signedness: 'gboolean' to 'guint'
Diffstat (limited to 'applets/wncklet')
-rw-r--r--applets/wncklet/showdesktop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/wncklet/showdesktop.c b/applets/wncklet/showdesktop.c
index 6b8dfa70..d500db13 100644
--- a/applets/wncklet/showdesktop.c
+++ b/applets/wncklet/showdesktop.c
@@ -590,7 +590,7 @@ static void show_desktop_changed_callback(WnckScreen* screen, ShowDesktopData* s
{
#ifdef HAVE_X11
if (sdd->wnck_screen != NULL)
- sdd->showing_desktop = wnck_screen_get_showing_desktop(sdd->wnck_screen);
+ sdd->showing_desktop = (wnck_screen_get_showing_desktop(sdd->wnck_screen) != FALSE);
#endif /* HAVE_X11 */
update_button_state (sdd);