From 27082014c8d2a8a725f858ec4044e65cefeb5ca5 Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 26 Jul 2022 19:37:41 +0200 Subject: mate-colorbutton: fix -Wenum-conversion warning --- libmate-desktop/mate-colorbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmate-desktop/mate-colorbutton.c') 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); -- cgit v1.2.1