button: Remove nullable annotation for new_from_icon_name()

This makes it more consistent with set_icon_name() which
does also not accept NULL.

Fixes #5606
This commit is contained in:
Philipp Hörist 2023-02-20 20:32:06 +01:00
parent 624458df9d
commit a209a73c69

View File

@ -638,7 +638,7 @@ gtk_button_new_with_label (const char *label)
/**
* gtk_button_new_from_icon_name:
* @icon_name: (nullable): an icon name
* @icon_name: an icon name
*
* Creates a new button containing an icon from the current icon theme.
*