diff options
Diffstat (limited to 'libslab/slab-section.c')
-rw-r--r-- | libslab/slab-section.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libslab/slab-section.c b/libslab/slab-section.c index 6fbf7006..3235c59a 100644 --- a/libslab/slab-section.c +++ b/libslab/slab-section.c @@ -52,15 +52,15 @@ slab_section_set_title_color (GtkWidget * widget) { case Style1: gtk_widget_modify_fg (SLAB_SECTION (widget)->title, GTK_STATE_NORMAL, - &widget->style->bg[GTK_STATE_SELECTED]); + >k_widget_get_style (widget)->bg[GTK_STATE_SELECTED]); break; case Style2: if (SLAB_SECTION (widget)->selected) gtk_widget_modify_fg (SLAB_SECTION (widget)->title, GTK_STATE_NORMAL, - &widget->style->dark[GTK_STATE_SELECTED]); + >k_widget_get_style (widget)->dark[GTK_STATE_SELECTED]); else gtk_widget_modify_fg (SLAB_SECTION (widget)->title, GTK_STATE_NORMAL, - &widget->style->text[GTK_STATE_INSENSITIVE]); + >k_widget_get_style (widget)->text[GTK_STATE_INSENSITIVE]); break; default: g_assert_not_reached (); |