summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2022-07-26 19:37:41 +0200
committermouse <[email protected]>2022-08-15 13:09:09 +0800
commit27082014c8d2a8a725f858ec4044e65cefeb5ca5 (patch)
tree9c66cd5857449b73dc6d89a855ba9f33c844bf11
parent06abb0c3dd4183f19cdea66d4199fa79e40a5668 (diff)
downloadmate-desktop-27082014c8d2a8a725f858ec4044e65cefeb5ca5.tar.bz2
mate-desktop-27082014c8d2a8a725f858ec4044e65cefeb5ca5.tar.xz
mate-colorbutton: fix -Wenum-conversion warning
-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 52d658f..cf43301 100644
--- a/libmate-desktop/mate-colorbutton.c
+++ b/libmate-desktop/mate-colorbutton.c
@@ -295,7 +295,7 @@ draw (GtkWidget *widget,
if (!gtk_widget_is_sensitive (GTK_WIDGET (color_button)))
{
context = gtk_widget_get_style_context (widget);
- gtk_style_context_get_color (context, GTK_STATE_INSENSITIVE, &rgba);
+ gtk_style_context_get_color (context, GTK_STATE_FLAG_INSENSITIVE, &rgba);
gdk_cairo_set_source_rgba (cr, &rgba);
checkered = mate_color_button_get_checkered ();
cairo_mask (cr, checkered);