Commit 701f82d1 authored by Daniel Boles's avatar Daniel Boles
Browse files

Button: Annotate set_image() argument as nullable

Passing NULL is valid and results in the image child being unset/removed
parent ca4730cc
......@@ -2543,7 +2543,7 @@ gtk_button_grab_notify (GtkWidget *widget,
* gtk_button_set_image:
* @button: a #GtkButton
* @image: a widget to set as the image for the button
* @image: (nullable): a widget to set as the image for the button, or %NULL to unset
* Set the image of @button to the given widget. The image will be
* displayed if the label text is %NULL or if
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment