Commit 7085595c authored by Matthias Clasen's avatar Matthias Clasen

expander: Use the right state when querying style properties

Failure to do so causes warnings.
parent 527d6a6f
......@@ -578,7 +578,7 @@ get_padding_and_border (GtkWidget *widget,
GtkBorder tmp;
context = gtk_widget_get_style_context (widget);
state = gtk_widget_get_state_flags (widget);
state = gtk_style_context_get_state (context);
gtk_style_context_get_padding (context, state, border);
gtk_style_context_get_border (context, state, &tmp);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment