Commit 1fda8e19 authored by Timm Bäder's avatar Timm Bäder 🤔 Committed by Michael Natterer

fgbgvew: Pass correct state to GtkStyleContext api

parent 1198a7e5
......@@ -165,7 +165,7 @@ gimp_fg_bg_view_draw (GtkWidget *widget,
gtk_style_context_save (style);
gtk_style_context_add_class (style, GTK_STYLE_CLASS_BUTTON);
gtk_style_context_get_border (style, gtk_widget_get_state_flags (widget),
gtk_style_context_get_border (style, gtk_style_context_get_state (style),
rect_w = allocation.width * 3 / 4;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment