From d684d9ae9fb723fe94819d803dbcd607562b1797 Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 26 Jul 2022 19:37:41 +0200 Subject: [PATCH] mate-colorbutton: fix -Wenum-conversion warning --- libmate-desktop/mate-colorbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmate-desktop/mate-colorbutton.c b/libmate-desktop/mate-colorbutton.c index 52d658f5c..cf4330153 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);