[gtk+/master.fcw: 317/648] Revert "gdkmain-win32.c: Add OS Info Check Function"



commit 5c7d32cf96c4e45c034bc243af8bed377a39dc46
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Mon Dec 22 17:21:13 2014 +0800

    Revert "gdkmain-win32.c: Add OS Info Check Function"
    
    This reverts commit 6a6172ea4a86d80dafec62a3ba34a3c365f03cdb.

 gdk/win32/gdkmain-win32.c |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/gdk/win32/gdkmain-win32.c b/gdk/win32/gdkmain-win32.c
index 3932245..905c729 100644
--- a/gdk/win32/gdkmain-win32.c
+++ b/gdk/win32/gdkmain-win32.c
@@ -150,20 +150,6 @@ _gdk_other_api_failed (const gchar *where,
   g_warning ("%s: %s failed", where, api);
 }
 
-gboolean
-_gdk_win32_check_os_version (glong major, glong minor)
-{
-  OSVERSIONINFOEXW osverinfo;
-  const DWORDLONG conds = VerSetConditionMask (VerSetConditionMask (0, VER_MAJORVERSION, VER_GREATER_EQUAL), 
VER_MINORVERSION, VER_GREATER_EQUAL);
-
-  memset (&osverinfo, 0, sizeof (OSVERSIONINFOEXW));
-  osverinfo.dwOSVersionInfoSize = sizeof (OSVERSIONINFOEXW);
-  osverinfo.dwPlatformId = VER_PLATFORM_WIN32_NT;
-  osverinfo.dwMajorVersion = major;
-  osverinfo.dwMinorVersion = minor;
-
-  return VerifyVersionInfoW (&osverinfo, VER_MAJORVERSION | VER_MINORVERSION, conds);
-}
 
 #ifdef G_ENABLE_DEBUG
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]