From 0527cc73992d8f5fd42088651308ca57e4011be3 Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Wed, 17 Jul 2019 16:54:53 +0800 Subject: fix build error about fm-empty-view --- src/file-manager/fm-empty-view.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/file-manager') diff --git a/src/file-manager/fm-empty-view.c b/src/file-manager/fm-empty-view.c index b0f577f7..573517d8 100644 --- a/src/file-manager/fm-empty-view.c +++ b/src/file-manager/fm-empty-view.c @@ -62,7 +62,8 @@ fm_empty_view_add_file (FMDirectoryView *view, CajaFile *file, CajaDirectory *di if (!timer) timer = g_timer_new (); g_timer_start (timer); - icon = caja_file_get_icon_surface (file, caja_get_icon_size_for_zoom_level (CAJA_ZOOM_LEVEL_STANDARD), TRUE, 0); + icon = caja_file_get_icon_surface (file, caja_get_icon_size_for_zoom_level (CAJA_ZOOM_LEVEL_STANDARD), + TRUE, gtk_widget_get_scale_factor (GTK_WIDGET(view)), 0); elaps = g_timer_elapsed (timer, NULL); g_timer_stop (timer); -- cgit v1.2.1