From 5b8646c6e83cb92fca370ec576859c93b65eff8d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 7 Nov 2016 14:59:23 -0500 Subject: [PATCH] Update the migration guide Mention the demise of -gtk-gradient, and explain that CSS syntax works fine for this now. --- docs/reference/gtk/migrating-3to4.xml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/reference/gtk/migrating-3to4.xml b/docs/reference/gtk/migrating-3to4.xml index e8ce306112..2638c7d9dc 100644 --- a/docs/reference/gtk/migrating-3to4.xml +++ b/docs/reference/gtk/migrating-3to4.xml @@ -133,7 +133,7 @@
Adapt to GtkWidget's size request changes - 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() family of functions. To simplify widget implementations, GTK+4 uses only one virtual function, GtkWidgetClass::measure() that widgets @@ -141,6 +141,14 @@
+
+ Don't use -gtk-gradient in your CSS + + GTK+ now supports standard CSS syntax for both linear and radial + gradients, just use those. + +
+