[gtk: 1/3] GdkWin32: Use a signed integral type for the DPI scale
- From: Luca Bacci <lbacci src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/3] GdkWin32: Use a signed integral type for the DPI scale
- Date: Mon, 8 Nov 2021 18:55:08 +0000 (UTC)
commit 8338e55549bd7042a9f2cb78479c24d4804e615d
Author: Luca Bacci <luca bacci982 gmail com>
Date: Fri Oct 29 17:54:10 2021 +0200
GdkWin32: Use a signed integral type for the DPI scale
gdk/win32/gdkmonitor-win32.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/win32/gdkmonitor-win32.c b/gdk/win32/gdkmonitor-win32.c
index 9dd7572d5f..a913a5cfc0 100644
--- a/gdk/win32/gdkmonitor-win32.c
+++ b/gdk/win32/gdkmonitor-win32.c
@@ -563,7 +563,7 @@ enum_monitor (HMONITOR hmonitor,
GdkWin32Monitor *w32mon;
GdkMonitor *mon;
GdkRectangle rect;
- guint scale;
+ int scale;
memset (&dd_monitor, 0, sizeof (dd_monitor));
dd_monitor.cb = sizeof (dd_monitor);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]