[nautilus/wip/antoniof/experimental-gtk4-build: 61/88] monitors -- squash with later change
- From: António Fernandes <antoniof src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [nautilus/wip/antoniof/experimental-gtk4-build: 61/88] monitors -- squash with later change
 
- Date: Sat,  1 Jan 2022 22:24:26 +0000 (UTC)
 
commit cc082d0e34052dd5b4f91d2a3ff134ee04e7819b
Author: António Fernandes <antoniof gnome org>
Date:   Sat Jan 1 15:50:22 2022 +0000
    monitors -- squash with later change
 src/nautilus-list-model.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/nautilus-list-model.c b/src/nautilus-list-model.c
index 701fc3eaf..a8df95fca 100644
--- a/src/nautilus-list-model.c
+++ b/src/nautilus-list-model.c
@@ -302,7 +302,7 @@ nautilus_list_model_get_icon_scale (NautilusListModel *model)
 
     if (retval == -1)
     {
-        retval = gdk_monitor_get_scale_factor (gdk_display_get_monitor (gdk_display_get_default (), 0));
+        retval = gdk_monitor_get_scale_factor (g_list_model_get_item (gdk_display_get_monitors 
(gdk_display_get_default ()), 0));
     }
 
     /* FIXME: Temporary regression: HiDPI icons not supported, ignore scale. */
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]