icontheme: Use GdkDisplay instead of GdkScreen

This commit is contained in:
Benjamin Otte
2017-10-31 02:59:06 +01:00
parent 9151e0b9f5
commit ecd5b399a4
10 changed files with 81 additions and 86 deletions

View File

@@ -106,7 +106,7 @@ on_notebook_drag_begin (GtkWidget *widget,
GtkIconTheme *icon_theme;
int width;
icon_theme = gtk_icon_theme_get_for_screen (gtk_widget_get_screen (widget));
icon_theme = gtk_icon_theme_get_for_display (gtk_widget_get_display (widget));
gtk_icon_size_lookup (GTK_ICON_SIZE_DND, &width, NULL);
surface = gtk_icon_theme_load_surface (icon_theme,
(page_num % 2) ? "help-browser" : "process-stop",