summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-colorbutton.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmate-desktop/mate-colorbutton.c')
-rw-r--r--libmate-desktop/mate-colorbutton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmate-desktop/mate-colorbutton.c b/libmate-desktop/mate-colorbutton.c
index cf43301..de81782 100644
--- a/libmate-desktop/mate-colorbutton.c
+++ b/libmate-desktop/mate-colorbutton.c
@@ -763,7 +763,7 @@ mate_color_button_set_use_alpha (MateColorButton *color_button,
if (color_button->priv->use_alpha != use_alpha)
{
- color_button->priv->use_alpha = use_alpha;
+ color_button->priv->use_alpha = (use_alpha != FALSE);
gtk_widget_queue_draw (color_button->priv->draw_area);