diff options
author | Benjamin Otte <otte@redhat.com> | 2017-10-31 02:35:21 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-10-31 03:05:54 +0100 |
commit | 9151e0b9f521060a7792a0e73ea0a8f3e77a0f89 (patch) | |
tree | 3ed40b25b874495b5f31ecfa91bb0859ff168a97 /gtk/gtkcssiconthemevalue.c | |
parent | a2e625692e25aa97277dd05670a2e9c49c07b3ee (diff) | |
download | gtk+-9151e0b9f521060a7792a0e73ea0a8f3e77a0f89.tar.gz |
stylecontext: Port to use display instead of screen
Diffstat (limited to 'gtk/gtkcssiconthemevalue.c')
-rw-r--r-- | gtk/gtkcssiconthemevalue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcssiconthemevalue.c b/gtk/gtkcssiconthemevalue.c index e6633c589a..6c4a303a21 100644 --- a/gtk/gtkcssiconthemevalue.c +++ b/gtk/gtkcssiconthemevalue.c @@ -81,7 +81,7 @@ gtk_css_value_icon_theme_compute (GtkCssValue *icon_theme, if (icon_theme->icontheme) icontheme = icon_theme->icontheme; else - icontheme = gtk_icon_theme_get_for_screen (_gtk_settings_get_screen (_gtk_style_provider_private_get_settings (provider))); + icontheme = gtk_icon_theme_get_for_screen (gdk_display_get_default_screen (_gtk_settings_get_display (_gtk_style_provider_private_get_settings (provider)))); return gtk_css_icon_theme_value_new (icontheme); } |