From 506368e6103bf321c1b9d71a1f9de66b2d3dabf0 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: (cherry picked from commit 7b5da30f212f9fbe3f7beaa7fe426ae0404cf371) --- 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 a958c1491..d2b9b738d 100644 --- a/src/st/st-button.c +++ b/src/st/st-button.c @@ -822,7 +822,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