summaryrefslogtreecommitdiff
path: root/pango/pangowin32.c
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2019-07-22 23:44:33 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2019-07-25 10:51:22 +0800
commit47310a9dee07d092142be15a2146fe90ab3ad08a (patch)
tree14253d85deb3e33f2fa33e579e3ed5d8af949ca2 /pango/pangowin32.c
parent338495ce613f802b051bca0c32a96c5e3ff759e6 (diff)
downloadpango-47310a9dee07d092142be15a2146fe90ab3ad08a.tar.gz
PangoWin32: Drop _pango_win32_os_version_info
We don't need this anymore since we need Vista or later to run.
Diffstat (limited to 'pango/pangowin32.c')
-rw-r--r--pango/pangowin32.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/pango/pangowin32.c b/pango/pangowin32.c
index 86c698d1..8d175760 100644
--- a/pango/pangowin32.c
+++ b/pango/pangowin32.c
@@ -49,7 +49,6 @@
((ch) >= 0x2F800 && (ch) <= 0x2FA1F))
HDC _pango_win32_hdc;
-OSVERSIONINFO _pango_win32_os_version_info;
gboolean _pango_win32_debug = FALSE;
static void pango_win32_font_dispose (GObject *object);
@@ -156,11 +155,6 @@ pango_win32_get_dc (void)
if (g_once_init_enter (&_pango_win32_hdc))
{
HDC hdc = CreateDC ("DISPLAY", NULL, NULL, NULL);
- memset (&_pango_win32_os_version_info, 0,
- sizeof (_pango_win32_os_version_info));
- _pango_win32_os_version_info.dwOSVersionInfoSize =
- sizeof (OSVERSIONINFO);
- GetVersionEx (&_pango_win32_os_version_info);
/* Also do some generic pangowin32 initialisations... this function
* is a suitable place for those as it is called from a couple