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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3172>
This commit is contained in:
Julian Sparber 2024-02-08 10:27:03 +01:00
parent c6cb454f89
commit 7b5da30f21

View File

@ -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