summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-04-10 23:57:03 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2021-04-10 23:57:03 +0100
commit3377dc7d40ab48caed730c32b63ed6b6908492f6 (patch)
tree5e3edfab0602e1d50865731cc085504e00e77f83
parent3cfd1e1f525fc7e2f0a6b8f50c19ed2a7e2deb99 (diff)
downloadgtk+-ebassi/hvbox-docs.tar.gz
docs: Remove any reference to GtkGrid in Gtk[HV]Boxebassi/hvbox-docs
GtkBox is not going away, so there's not point in making things more confusing for those who are still porting their code from GTK2 to GTK3 10 years after GTK 3.0 was released. Fixes: #3854
-rw-r--r--gtk/deprecated/gtkhbox.c6
-rw-r--r--gtk/deprecated/gtkvbox.c6
2 files changed, 4 insertions, 8 deletions
diff --git a/gtk/deprecated/gtkhbox.c b/gtk/deprecated/gtkhbox.c
index 7844d81bb8..f06a42277b 100644
--- a/gtk/deprecated/gtkhbox.c
+++ b/gtk/deprecated/gtkhbox.c
@@ -83,10 +83,8 @@ gtk_hbox_init (GtkHBox *hbox)
*
* Returns: a new #GtkHBox.
*
- * Deprecated: 3.2: You can use gtk_box_new() with %GTK_ORIENTATION_HORIZONTAL instead,
- * which is a quick and easy change. But the recommendation is to switch to
- * #GtkGrid, since #GtkBox is going to go away eventually.
- * See [Migrating from other containers to GtkGrid][gtk-migrating-GtkGrid].
+ * Deprecated: 3.2: You should use gtk_box_new() with a %GTK_ORIENTATION_HORIZONTAL
+ * #GtkOrientable:orientation instead
*/
GtkWidget *
gtk_hbox_new (gboolean homogeneous,
diff --git a/gtk/deprecated/gtkvbox.c b/gtk/deprecated/gtkvbox.c
index b8ef2e445b..55143fd1b1 100644
--- a/gtk/deprecated/gtkvbox.c
+++ b/gtk/deprecated/gtkvbox.c
@@ -90,10 +90,8 @@ gtk_vbox_init (GtkVBox *vbox)
*
* Returns: a new #GtkVBox.
*
- * Deprecated: 3.2: You can use gtk_box_new() with %GTK_ORIENTATION_VERTICAL instead,
- * which is a quick and easy change. But the recommendation is to switch to
- * #GtkGrid, since #GtkBox is going to go away eventually.
- * See [Migrating from other containers to GtkGrid][gtk-migrating-GtkGrid].
+ * Deprecated: 3.2: You should use gtk_box_new() with a %GTK_ORIENTATION_VERTICAL
+ * #GtkOrientable:orientation instead
*/
GtkWidget *
gtk_vbox_new (gboolean homogeneous,