diff options
author | Stefano Karapetsas <[email protected]> | 2014-01-24 16:01:49 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-01-24 16:01:49 +0100 |
commit | 80c3d8ace4794481e711fb63e4eefd9f1f5cc1ef (patch) | |
tree | c9ca5dade16593759c5d2ced120c028e963ae7d6 /libslab/mate-utils.c | |
parent | 31bfbb9e6aba9a1c82999823f7a3cd9dd6ec500b (diff) | |
download | mate-control-center-80c3d8ace4794481e711fb63e4eefd9f1f5cc1ef.tar.bz2 mate-control-center-80c3d8ace4794481e711fb63e4eefd9f1f5cc1ef.tar.xz |
libslab: Add GTK3 support
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]); } |