From 356b9129067dd0e1dc62e893d47a1e9b033885bd Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Thu, 7 Apr 2016 17:40:56 +0100 Subject: [PATCH] hw/xwin: Use Bool type in winShowWindowOnTaskbar() prototype Use the Bool type from X11/Xdefs.h for winShowWindowOnTaskbar(). This is the boolean type we should be using inside the X server, rather than BOOL, which evaluates to either the Win32 API type, or the Xlib API type, depending on the context... Signed-off-by: Jon Turney Reviewed-by: Colin Harrison --- hw/xwin/wintaskbar.c | 2 +- hw/xwin/winwindow.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xwin/wintaskbar.c b/hw/xwin/wintaskbar.c index 7dd4ec30b..401ec175a 100644 --- a/hw/xwin/wintaskbar.c +++ b/hw/xwin/wintaskbar.c @@ -66,7 +66,7 @@ DECLARE_INTERFACE_(ITaskbarList, IUnknown) seem to be the case */ -void winShowWindowOnTaskbar(HWND hWnd, BOOL show) +void winShowWindowOnTaskbar(HWND hWnd, Bool show) { ITaskbarList* pTaskbarList = NULL; diff --git a/hw/xwin/winwindow.h b/hw/xwin/winwindow.h index e3a594850..65e4bea0c 100644 --- a/hw/xwin/winwindow.h +++ b/hw/xwin/winwindow.h @@ -160,7 +160,7 @@ void winSetAppUserModelID(HWND hWnd, const char *AppID); void - winShowWindowOnTaskbar(HWND hWnd, BOOL show); + winShowWindowOnTaskbar(HWND hWnd, Bool show); #endif /* XWIN_MULTIWINDOW */ #endif