Merge branch 'wip/issue-21' into 'master'

Mention gtk_button_set_image() and friends in the migration docs

Closes #21

See merge request GNOME/gtk!6
This commit is contained in:
Matthias Clasen 2018-02-15 03:06:28 +00:00
commit 656f67eeb7

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>