Update the migration guide

Mention the demise of -gtk-gradient, and explain that CSS syntax
works fine for this now.
This commit is contained in:
Matthias Clasen 2016-11-07 14:59:23 -05:00
parent 2a5a94b260
commit 5b8646c6e8

View File

@ -133,7 +133,7 @@
<section> <section>
<title>Adapt to GtkWidget's size request changes</title> <title>Adapt to GtkWidget's size request changes</title>
<para> <para>
GTK+3 used five different virtual functions in GtkWidget to GTK+ 3 used five different virtual functions in GtkWidget to
implement size requisition, namely the gtk_widget_get_preferred_width() implement size requisition, namely the gtk_widget_get_preferred_width()
family of functions. To simplify widget implementations, GTK+4 uses family of functions. To simplify widget implementations, GTK+4 uses
only one virtual function, GtkWidgetClass::measure() that widgets only one virtual function, GtkWidgetClass::measure() that widgets
@ -141,6 +141,14 @@
</para> </para>
</section> </section>
<section>
<title>Don't use -gtk-gradient in your CSS</title>
<para>
GTK+ now supports standard CSS syntax for both linear and radial
gradients, just use those.
</para>
</section>
</section> </section>
</chapter> </chapter>