From ec93c117bf6dd3bc8f465012902dbd7aad38d6a7 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 22 Dec 2021 08:47:47 +0100 Subject: Fix implicit conversion changes signedness: 'gboolean' to 'guint' --- libmate-desktop/mate-colorsel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmate-desktop/mate-colorsel.c') diff --git a/libmate-desktop/mate-colorsel.c b/libmate-desktop/mate-colorsel.c index 16dc81e..3d0bd30 100644 --- a/libmate-desktop/mate-colorsel.c +++ b/libmate-desktop/mate-colorsel.c @@ -2334,7 +2334,7 @@ mate_color_selection_set_has_opacity_control (MateColorSelection *colorsel, if (priv->has_opacity != has_opacity) { - priv->has_opacity = has_opacity; + priv->has_opacity = (has_opacity != FALSE); if (has_opacity) { gtk_widget_show (priv->opacity_slider); @@ -2393,7 +2393,7 @@ mate_color_selection_set_has_palette (MateColorSelection *colorsel, if (priv->has_palette != has_palette) { - priv->has_palette = has_palette; + priv->has_palette = (has_palette != FALSE); if (has_palette) gtk_widget_show (priv->palette_frame); else -- cgit v1.2.1