From bd47fda5a0307a64d9a8f9dfd466c2480ba454ae Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 22 Dec 2021 08:38:15 +0100 Subject: Fix implicit conversion changes signedness: 'gboolean' to 'guint' --- src/gsd-media-keys-window.c | 2 +- src/msd-osd-window.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gsd-media-keys-window.c b/src/gsd-media-keys-window.c index 5877299..2bbe4ef 100644 --- a/src/gsd-media-keys-window.c +++ b/src/gsd-media-keys-window.c @@ -175,7 +175,7 @@ msd_media_keys_window_set_volume_muted (MsdMediaKeysWindow *window, g_return_if_fail (MSD_IS_MEDIA_KEYS_WINDOW (window)); if (window->priv->volume_muted != muted) { - window->priv->volume_muted = muted; + window->priv->volume_muted = (muted != FALSE); volume_muted_changed (window); } } diff --git a/src/msd-osd-window.c b/src/msd-osd-window.c index b8a9ede..1b64ec0 100644 --- a/src/msd-osd-window.c +++ b/src/msd-osd-window.c @@ -441,7 +441,7 @@ msd_osd_window_init (MsdOsdWindow *window) screen = gtk_widget_get_screen (GTK_WIDGET (window)); - window->priv->is_composited = gdk_screen_is_composited (screen); + window->priv->is_composited = (gdk_screen_is_composited (screen) != FALSE); window->priv->scale_factor = gtk_widget_get_scale_factor (GTK_WIDGET (window)); if (window->priv->is_composited) { -- cgit v1.2.1