Fixed GitHub Action errors

This commit is contained in:
GamesTrap 2023-02-03 23:27:45 +01:00
parent 48818fc7a9
commit 8b1b11c3c4
No known key found for this signature in database
GPG Key ID: 31DFD452434ECDA3
2 changed files with 6 additions and 2 deletions

View File

@ -1902,8 +1902,10 @@ void _glfwSetWindowIconWayland(_GLFWwindow* window,
"Wayland: The platform does not support setting the window icon");
}
void _glfwSetWindowTaskbarProgress(_GLFWwindow* /*window*/, const int progressState, int completed)
void _glfwSetWindowTaskbarProgress(_GLFWwindow* window, const int taskbarState, int completed)
{
(void)window;
const dbus_bool_t progressVisible = (taskbarState != GLFW_TASKBAR_PROGRESS_NOPROGRESS);
const double progressValue = (double)completed / 100.0;

View File

@ -2152,8 +2152,10 @@ void _glfwSetWindowIconX11(_GLFWwindow* window, int count, const GLFWimage* imag
XFlush(_glfw.x11.display);
}
void _glfwSetWindowTaskbarProgressX11(_GLFWwindow* /*window*/, const int taskbarState, int completed)
void _glfwSetWindowTaskbarProgressX11(_GLFWwindow* window, const int taskbarState, int completed)
{
(void)window;
const dbus_bool_t progressVisible = (taskbarState != GLFW_TASKBAR_PROGRESS_NOPROGRESS);
const double progressValue = (double)completed / 100.0;