Mention gtk_button_set_image() and friends in the migration docs

The image-related API for GtkButton has been dropped, but still needs
to be mentioned in the migration guide.

Closes: #21
This commit is contained in:
Emmanuele Bassi 2018-02-13 12:57:18 +00:00
parent 365707e4eb
commit 7ee69fc7b2

View File

@ -157,6 +157,18 @@
</para>
</section>
<section>
<title>Stop using GtkButton's image-related API</title>
<para>
The functions and properties related to automatically add a GtkImage
to a GtkButton, and using a GtkSetting to control its visibility, are
not supported in GTK+ 4. Instead, you can just pack a GtkImage inside
a GtkButton, and control its visibility like you would for any other
widget. If you only want to add a named icon to a GtkButton, you can
use gtk_button_set_icon_name().
</para>
</section>
</section>
<section>