button: Remove nullable annotation for new_from_icon_name()
authorPhilipp Hörist <philipp@hoerist.com>
Mon, 20 Feb 2023 19:32:06 +0000 (20:32 +0100)
committerPhilipp Hörist <philipp@hoerist.com>
Mon, 20 Feb 2023 19:33:42 +0000 (20:33 +0100)
This makes it more consistent with set_icon_name() which
does also not accept NULL.

Fixes #5606

gtk/gtkbutton.c

index dda8c194ee129109e0aee4be39adc8136ec03545..a5b004488540d9ad0df03214a9487ee8b393de7c 100644 (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.
  *