From b66bc2fbf8a07e01c548cb4ad233168cf25f56af Mon Sep 17 00:00:00 2001 From: cnmcdee Date: Mon, 30 Nov 2026 03:29:52 +0000 Subject: [PATCH] Fix -Wunused-parameter in window widgets after drag removal The drag removal left on_button_release with an unused button parameter in GtkWindow and GtkApplicationWindow. Add (void)button. TForm uses button, so it needed no change. Build is 0 warnings. --- widgets/components/GtkApplicationWindow/GtkApplicationWindow.h | 2 ++ widgets/components/GtkWindow/GtkWindow.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/widgets/components/GtkApplicationWindow/GtkApplicationWindow.h b/widgets/components/GtkApplicationWindow/GtkApplicationWindow.h index c351b40..f414861 100644 --- a/widgets/components/GtkApplicationWindow/GtkApplicationWindow.h +++ b/widgets/components/GtkApplicationWindow/GtkApplicationWindow.h @@ -766,6 +766,8 @@ public: (void)y; + (void)button; + return false; } diff --git a/widgets/components/GtkWindow/GtkWindow.h b/widgets/components/GtkWindow/GtkWindow.h index 149d294..c01d448 100644 --- a/widgets/components/GtkWindow/GtkWindow.h +++ b/widgets/components/GtkWindow/GtkWindow.h @@ -663,6 +663,8 @@ public: (void)y; + (void)button; + return false; }