libgimpwidgets: Reorder GimpPropToggle docs

The documentation for gimp_prop_toggle_new ()
had "icon_name" and "label" in the wrong order.
This patch fixes the documentation to be consistent
with the API.
This commit is contained in:
Alx Sa 2026-02-13 05:29:53 +00:00
parent 31eb0d86cf
commit 29f991cbf2

View file

@ -404,8 +404,8 @@ gimp_prop_switch_new (GObject *config,
* gimp_prop_toggle_new:
* @config: Object to which property is attached.
* @property_name: Name of boolean property controlled by the toggle button.
* @label: Label to give the toggle (including mnemonic).
* @icon_name: Icon to display in the toggle.
* @label: Label to give the toggle (including mnemonic).
* @image_out: (out) (optional) (transfer none): The generated #GtkImage
* if @icon_name was not %NULL.
*