From: Jon TURNEY Date: Sat, 30 Mar 2013 19:40:31 +0000 (+0000) Subject: hw/xwin: deprecated interface cygwin_conv_to_win32_path() doesn't exist in 64-bit... X-Git-Tag: xorg-server-1.14.99.2~67^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b542976846eb5d4c82910272af32ec8298da4177;p=platform%2Fupstream%2Fxorg-server.git hw/xwin: deprecated interface cygwin_conv_to_win32_path() doesn't exist in 64-bit cygwin The deprecated interface cygwin_conv_to_win32_path() doesn't exist in 64-bit cygwin, but both the ID_ABOUT_CHANGELOG control and the referenced file who's path we are converting haven't existed for a while, so just remove this unused, cygwin-specific code. Signed-off-by: Jon TURNEY Reviewed-by: Colin Harrison --- diff --git a/hw/xwin/windialogs.c b/hw/xwin/windialogs.c index 3ceaf4e..16f7ba0 100644 --- a/hw/xwin/windialogs.c +++ b/hw/xwin/windialogs.c @@ -33,9 +33,6 @@ #include #endif #include "win.h" -#ifdef __CYGWIN__ -#include -#endif #include #include "winprefs.h" @@ -623,17 +620,8 @@ winAboutDlgProc(HWND hwndDialog, UINT message, WPARAM wParam, LPARAM lParam) { INT_PTR iReturn; -#ifdef __CYGWIN__ - const char *pszCygPath = "/usr/X11R6/share/doc/" - "xorg-x11-xwin/changelog.html"; - char pszWinPath[MAX_PATH + 1]; - - /* Convert the POSIX path to a Win32 path */ - cygwin_conv_to_win32_path(pszCygPath, pszWinPath); -#else const char *pszWinPath = "http://x.cygwin.com/" "devel/server/changelog.html"; -#endif iReturn = (INT_PTR) ShellExecute(NULL, "open",