Commit 4a9c3bc2 authored by Javier Jardón's avatar Javier Jardón

tests/testiconview-keynav.c: Use accessor functions to access GtkWidget

parent 252a8fc0
......@@ -213,11 +213,15 @@ static void
header_style_set (GtkWidget *widget,
GtkStyle *old_style)
GtkStyle *style;
style = gtk_widget_get_style (widget);
g_signal_handlers_block_by_func (widget, header_style_set, NULL);
gtk_widget_modify_bg (widget, GTK_STATE_NORMAL,
gtk_widget_modify_fg (widget, GTK_STATE_NORMAL,
g_signal_handlers_unblock_by_func (widget, header_style_set, NULL);
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