From e84ade32ac1463e614e8363e11ee93c477d6306b Mon Sep 17 00:00:00 2001 From: ws909 <37029098+ws909@users.noreply.github.com> Date: Mon, 6 Mar 2023 13:35:50 +0100 Subject: [PATCH] Fix remaining incorrect function signatures for SetWindowTaskbarBadgeString --- src/cocoa_platform.h | 2 +- src/null_platform.h | 2 +- src/null_window.c | 2 +- src/win32_platform.h | 2 +- src/wl_platform.h | 2 +- src/x11_platform.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/cocoa_platform.h b/src/cocoa_platform.h index ebd06003..c0179372 100644 --- a/src/cocoa_platform.h +++ b/src/cocoa_platform.h @@ -232,7 +232,7 @@ void _glfwSetWindowTitleCocoa(_GLFWwindow* window, const char* title); void _glfwSetWindowIconCocoa(_GLFWwindow* window, int count, const GLFWimage* images); void _glfwSetWindowTaskbarProgressCocoa(_GLFWwindow* window, int progressState, double value); void _glfwSetWindowTaskbarBadgeCocoa(_GLFWwindow* window, int count); -void _glfwSetWindowTaskbarBadgeStringCocoa(_GLFWwindow* window, const char* count); +void _glfwSetWindowTaskbarBadgeStringCocoa(_GLFWwindow* window, const char* string); void _glfwGetWindowPosCocoa(_GLFWwindow* window, int* xpos, int* ypos); void _glfwSetWindowPosCocoa(_GLFWwindow* window, int xpos, int ypos); void _glfwGetWindowSizeCocoa(_GLFWwindow* window, int* width, int* height); diff --git a/src/null_platform.h b/src/null_platform.h index 271d9f73..0e767153 100644 --- a/src/null_platform.h +++ b/src/null_platform.h @@ -91,7 +91,7 @@ void _glfwSetWindowTitleNull(_GLFWwindow* window, const char* title); void _glfwSetWindowIconNull(_GLFWwindow* window, int count, const GLFWimage* images); void _glfwSetWindowTaskbarProgressNull(_GLFWwindow* window, int progressState, double value); void _glfwSetWindowTaskbarBadgeNull(_GLFWwindow* window, int count); -void _glfwSetWindowTaskbarBadgeStringNull(_GLFWwindow* window, int count); +void _glfwSetWindowTaskbarBadgeStringNull(_GLFWwindow* window, const char* string); void _glfwSetWindowMonitorNull(_GLFWwindow* window, _GLFWmonitor* monitor, int xpos, int ypos, int width, int height, int refreshRate); void _glfwGetWindowPosNull(_GLFWwindow* window, int* xpos, int* ypos); void _glfwSetWindowPosNull(_GLFWwindow* window, int xpos, int ypos); diff --git a/src/null_window.c b/src/null_window.c index 5e221cea..61b53fa8 100644 --- a/src/null_window.c +++ b/src/null_window.c @@ -195,7 +195,7 @@ void _glfwSetWindowTaskbarBadgeNull(_GLFWwindow* window, int count) { } -void _glfwSetWindowTaskbarBadgeStringNull(_GLFWwindow* window, int count) +void _glfwSetWindowTaskbarBadgeStringNull(_GLFWwindow* window, const char* string) { } diff --git a/src/win32_platform.h b/src/win32_platform.h index 7eb7381d..0f6460b5 100644 --- a/src/win32_platform.h +++ b/src/win32_platform.h @@ -620,7 +620,7 @@ void _glfwSetWindowTitleWin32(_GLFWwindow* window, const char* title); void _glfwSetWindowIconWin32(_GLFWwindow* window, int count, const GLFWimage* images); void _glfwSetWindowTaskbarProgressWin32(_GLFWwindow* window, int progressState, double value); void _glfwSetWindowTaskbarBadgeWin32(_GLFWwindow* window, int count); -void _glfwSetWindowTaskbarBadgeStringWin32(_GLFWwindow* window, const char* count); +void _glfwSetWindowTaskbarBadgeStringWin32(_GLFWwindow* window, const char* string); void _glfwGetWindowPosWin32(_GLFWwindow* window, int* xpos, int* ypos); void _glfwSetWindowPosWin32(_GLFWwindow* window, int xpos, int ypos); void _glfwGetWindowSizeWin32(_GLFWwindow* window, int* width, int* height); diff --git a/src/wl_platform.h b/src/wl_platform.h index ad365d50..1745706c 100644 --- a/src/wl_platform.h +++ b/src/wl_platform.h @@ -448,7 +448,7 @@ void _glfwSetWindowTitleWayland(_GLFWwindow* window, const char* title); void _glfwSetWindowIconWayland(_GLFWwindow* window, int count, const GLFWimage* images); void _glfwSetWindowTaskbarProgressWayland(_GLFWwindow* window, int progressState, double value); void _glfwSetWindowTaskbarBadgeWayland(_GLFWwindow* window, int count); -void _glfwSetWindowTaskbarBadgeStringWayland(_GLFWwindow* window, const char* count); +void _glfwSetWindowTaskbarBadgeStringWayland(_GLFWwindow* window, const char* string); void _glfwGetWindowPosWayland(_GLFWwindow* window, int* xpos, int* ypos); void _glfwSetWindowPosWayland(_GLFWwindow* window, int xpos, int ypos); void _glfwGetWindowSizeWayland(_GLFWwindow* window, int* width, int* height); diff --git a/src/x11_platform.h b/src/x11_platform.h index 73ff4af3..b01556de 100644 --- a/src/x11_platform.h +++ b/src/x11_platform.h @@ -907,7 +907,7 @@ void _glfwSetWindowTitleX11(_GLFWwindow* window, const char* title); void _glfwSetWindowIconX11(_GLFWwindow* window, int count, const GLFWimage* images); void _glfwSetWindowTaskbarProgressX11(_GLFWwindow* window, int progressState, double value); void _glfwSetWindowTaskbarBadgeX11(_GLFWwindow* window, int count); -void _glfwSetWindowTaskbarBadgeStringX11(_GLFWwindow* window, const char* count); +void _glfwSetWindowTaskbarBadgeStringX11(_GLFWwindow* window, const char* string); void _glfwGetWindowPosX11(_GLFWwindow* window, int* xpos, int* ypos); void _glfwSetWindowPosX11(_GLFWwindow* window, int xpos, int ypos); void _glfwGetWindowSizeX11(_GLFWwindow* window, int* width, int* height);