diff options
Diffstat (limited to 'src/file-manager/fm-list-model.c')
-rw-r--r-- | src/file-manager/fm-list-model.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file-manager/fm-list-model.c b/src/file-manager/fm-list-model.c index 715303b5..641a3fcf 100644 --- a/src/file-manager/fm-list-model.c +++ b/src/file-manager/fm-list-model.c @@ -270,7 +270,7 @@ fm_list_model_get_icon_scale (FMListModel *model) &retval); if (retval == -1) { - retval = gdk_screen_get_monitor_scale_factor (gdk_screen_get_default (), 0); + retval = gdk_monitor_get_scale_factor (gdk_display_get_monitor (gdk_display_get_default (), 0)); } return retval; |