From 7b5da30f212f9fbe3f7beaa7fe426ae0404cf371 Mon Sep 17 00:00:00 2001 From: Julian Sparber Date: Thu, 8 Feb 2024 10:27:03 +0100 Subject: [PATCH] st/button: Fix small mistake in st_button_toggle_mode docs When the toggle mode is enabled the checked state will be changed not the active state. Part-of: --- src/st/st-button.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/st/st-button.c b/src/st/st-button.c index 42745f361..21710020e 100644 --- a/src/st/st-button.c +++ b/src/st/st-button.c @@ -821,7 +821,7 @@ st_button_get_toggle_mode (StButton *button) * @button: a #Stbutton * @toggle: %TRUE or %FALSE * - * Enables or disables toggle mode for the button. In toggle mode, the active + * Enables or disables toggle mode for the button. In toggle mode, the checked * state will be "toggled" when the user clicks the button. */ void