summaryrefslogtreecommitdiff
path: root/applets
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
parent42e01cf4992c552bc7924bb8fd0087832e85e8c1 (diff)
downloadmate-panel-a32b67611920591c918c164b11b814d493923127.tar.bz2
mate-panel-a32b67611920591c918c164b11b814d493923127.tar.xz
Fix implicit conversion changes signedness: 'gboolean' to 'guint'
Diffstat (limited to 'applets')
-rw-r--r--applets/notification_area/system-tray/na-tray-child.c2
-rw-r--r--applets/wncklet/showdesktop.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/applets/notification_area/system-tray/na-tray-child.c b/applets/notification_area/system-tray/na-tray-child.c
index cd7c305a..9eb03e22 100644
--- a/applets/notification_area/system-tray/na-tray-child.c
+++ b/applets/notification_area/system-tray/na-tray-child.c
@@ -546,7 +546,7 @@ na_tray_child_set_composited (NaTrayChild *child,
if (child->composited == composited)
return;
- child->composited = composited;
+ child->composited = (composited != FALSE);
if (gtk_widget_get_realized (GTK_WIDGET (child)))
gdk_window_set_composited (gtk_widget_get_window (GTK_WIDGET (child)),
composited);
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);