Wrong introspection annotation on Gtk.Button.new_from_icon_name()
Current code says the arg icon_name
is nullable.
This does work but it throws a critical error
(process:197802): Gtk-CRITICAL **: 10:23:56.268: gtk_button_set_icon_name: assertion 'icon_name != NULL' failed
is this intended?
In my opinion if the API allows to pass None, it should not trow a critical, as it must expect users to do this.
So either the annotation is wrong, or the critical logging error should be removed
Edited by lovetox