diff options
author | Carlos Garcia Campos <cgarcia@igalia.com> | 2010-12-03 14:08:33 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2010-12-04 15:39:56 +0100 |
commit | 3b3307b946ed3fb7e3669ed98ec154d4b161bb1d (patch) | |
tree | 5f94314f9876a3811898aa35871e6a8ca76f4d04 /gtk/gtksettings.c | |
parent | a8c8c23c779106a0c45d55d2efbbba516de101b3 (diff) | |
download | gtk+-3b3307b946ed3fb7e3669ed98ec154d4b161bb1d.tar.gz |
Use gtk_style_context_reset_widgets() instead of gtk_rc_reset_styles()
Diffstat (limited to 'gtk/gtksettings.c')
-rw-r--r-- | gtk/gtksettings.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c index 2f517587c8..f84bc9b283 100644 --- a/gtk/gtksettings.c +++ b/gtk/gtksettings.c @@ -1572,18 +1572,18 @@ gtk_settings_notify (GObject *object, * widgets with gtk_widget_style_set(), and also causes more * recomputation than necessary. */ - gtk_rc_reset_styles (GTK_SETTINGS (object)); + gtk_style_context_reset_widgets (settings->screen); break; case PROP_XFT_ANTIALIAS: case PROP_XFT_HINTING: case PROP_XFT_HINTSTYLE: case PROP_XFT_RGBA: settings_update_font_options (settings); - gtk_rc_reset_styles (GTK_SETTINGS (object)); + gtk_style_context_reset_widgets (settings->screen); break; case PROP_FONTCONFIG_TIMESTAMP: if (settings_update_fontconfig (settings)) - gtk_rc_reset_styles (GTK_SETTINGS (object)); + gtk_style_context_reset_widgets (settings->screen); break; case PROP_CURSOR_THEME_NAME: case PROP_CURSOR_THEME_SIZE: |