summaryrefslogtreecommitdiff
path: root/src/gsd-media-keys-window.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-12-22 08:38:15 +0100
committerLuke from DC <[email protected]>2022-03-18 06:17:01 +0000
commitbd47fda5a0307a64d9a8f9dfd466c2480ba454ae (patch)
tree2c5da40ec3038e9399766dc41388c4390b3b98f1 /src/gsd-media-keys-window.c
parent2a42090ca95cb39dc42f0de0cc3e56b244777446 (diff)
downloadmate-power-manager-bd47fda5a0307a64d9a8f9dfd466c2480ba454ae.tar.bz2
mate-power-manager-bd47fda5a0307a64d9a8f9dfd466c2480ba454ae.tar.xz
Fix implicit conversion changes signedness: 'gboolean' to 'guint'
Diffstat (limited to 'src/gsd-media-keys-window.c')
-rw-r--r--src/gsd-media-keys-window.c2
1 files changed, 1 insertions, 1 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);
}
}