From 9151e0b9f521060a7792a0e73ea0a8f3e77a0f89 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 31 Oct 2017 02:35:21 +0100 Subject: stylecontext: Port to use display instead of screen --- gtk/gtkcssiconthemevalue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtkcssiconthemevalue.c') 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); } -- cgit v1.2.1