summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-02-15 03:06:28 +0000
committerMatthias Clasen <mclasen@redhat.com>2018-02-15 03:06:28 +0000
commit656f67eeb760b7c2a714696c8ae230533532d778 (patch)
tree34a7b7b3b91b646152a734a4640823460a417b76 /docs
parentc2531b7ff2069d34f34025b17247389d7838cbb7 (diff)
parent7ee69fc7b21cad5ff322d72b0b6f5720bb0765b2 (diff)
downloadgtk+-656f67eeb760b7c2a714696c8ae230533532d778.tar.gz
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
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/gtk/migrating-3to4.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/reference/gtk/migrating-3to4.xml b/docs/reference/gtk/migrating-3to4.xml
index 46327e43af..a162b5e5f0 100644
--- a/docs/reference/gtk/migrating-3to4.xml
+++ b/docs/reference/gtk/migrating-3to4.xml
@@ -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>