diff options
Diffstat (limited to 'libslab/mate-utils.c')
-rw-r--r-- | libslab/mate-utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libslab/mate-utils.c b/libslab/mate-utils.c index f3c31c42..b94253ae 100644 --- a/libslab/mate-utils.c +++ b/libslab/mate-utils.c @@ -158,9 +158,9 @@ static void section_header_style_set (GtkWidget * widget, GtkStyle * prev_style, gpointer user_data) { if (prev_style - && widget->style->fg[GTK_STATE_SELECTED].green == + && gtk_widget_get_style (widget)->fg[GTK_STATE_SELECTED].green == prev_style->fg[GTK_STATE_SELECTED].green) return; - gtk_widget_modify_fg (widget, GTK_STATE_NORMAL, &widget->style->bg[GTK_STATE_SELECTED]); + gtk_widget_modify_fg (widget, GTK_STATE_NORMAL, >k_widget_get_style (widget)->bg[GTK_STATE_SELECTED]); } |